to chain methods you have to do something like the following:
$('element').previous().hide()
this is different to:
$('element').previous.hide()
the second example doesn't work I wondered if there was a way to write
it this way rather than the first...
My understanding is that without the
On Mar 15, 6:24 pm, Walter Lee Davis wa...@wdstudio.com wrote:
Since the sort order is a client preference, I would imagine you could
stash the client's preferred order in a cookie and use that for return
visits. Otherwise, each visitor could override the previous visitor's
preference,
Hello,
I am trying to program a function that should do the following :
- check for an email adress in a database
- if not - save the new adress
- if already exists - ask to save anyway
- if no - cancel and put the first email adres back in the form
- if yes - save
I get it almost working right
Thank you Paranav
Both cogent responses. I could not find a similar parser in the json-lib.
Happily using the json-simple thanks to you. Best of all I can resume
coding.
On Tue, Mar 16, 2010 at 6:32 PM, chrysanthe m chrysant...@gmail.com wrote:
Hello
Two questions if I may:
1. Will
Hello,
How can i apply a script on an html element (for example a table) when
this element is loaded in the page afterwards (after ajax request)?
This code never gets to work for example :
$$('tr.lignealternative').each(function(elmt) {
elmt.observe('mouseover',
Hi All
Actually I did JSONObject.fromObject(); fyi
On Wed, Mar 17, 2010 at 11:35 AM, chrysanthe m chrysant...@gmail.comwrote:
Thank you Paranav
Both cogent responses. I could not find a similar parser in the json-lib.
Happily using the json-simple thanks to you. Best of all I can resume
*To apply a script after page loaded (all dom node loaded)*
document.observe('dom:loaded', function() {
$$('tr.lignealternative').each(function(elmt) {
elmt.observe('mouseover', function(ev) {
elmt.toggleClassName(lignehover);
});