Hi.
I've implemented a simple add new user button to my amend users
page. The user list is only about 20 people, with
name/email/pin/contracts/delete options.
The button calls a template evaluation and that is within an update ...
$('vsNewUsers').update($('vsNewUsers').innerHTML +
On 17 August 2010 12:59, Phil Petree phil.pet...@gmail.com wrote:
===
HTML save as index.html:
html
head
script src=prototype.js/script
/head
body
form id=myform
table id=keytable
trtdKeyword/tdtdinput type=text
Can anyone explain why I might see the following? I have a simple
Accordion effect made with Scriptaculous:
var tog = function(){
var params = {duration:0.2};
if (this.next('p')) {
Effect.toggle(this.next('p'),'blind',params);
Hi all,
i have a very simple document:
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
head
titleBG fail/title
style type=text/css
body {
background-color: #00;
color:#ff;
}
I don't see how this went too far afield at all -- at least not nearly
enough to bother to comment on it.
Richard had some Prototype-related code that wasn't doing what he
wanted and he also mentioned the target attribute not being
standards and so not wanting to use it. I told him how I do what
On 17 August 2010 16:34, T.J. Crowder t...@crowdersoftware.com wrote:
Hi,
The original code:
$('vsNewUsers').update($('vsNewUsers').innerHTML +
tmpl_NewUser.evaluate({NewUserID : --i_NewUserID}));
...will require the browser to spin through the tree inside vsNewUsers
and create an
T.J. YOU are a gentleman AND a scholar! I looked everywhere for how to do
this! Hopefully this post will move up in the search engines and others can
find it!
One other question on this...
What if the XML response is:
data
other
stuffmore and more/stuff
/other
states
state
Here is a completed function that will populate a select box with data in an
XML format (XML format below):
// fill the select dropdown list box
// @ajax response (transport as returned above)
// @id of the select field (defaults to elFieldName
// @xml_data_node_name (our dataset uses 'state')
up() looks for a matching ancester in the DOM, not a sibling (brother)
that was before it in the DOM.
I think this will work :
$('part-47').up().down('tr.sd_type').id
On 17 août, 22:47, Rhiq ndba...@gmail.com wrote:
I obviously don't get the way up() works. Using the generated HTML
below:
Hi all,
I have solved my issue by by using:
this.select.options[i] = new Option(opt.value, opt.key, null,
false);
rather than
this.select.insert({'bottom': new Element('option',
{'value':opt.key}).update(opt.value)});
Thanks to everyone who gave this some thought!
(Sorry for the top
10 matches
Mail list logo