[jQuery] rearranging a table with drag and drop

2009-06-08 Thread angelochen...@gmail.com
Hi, I'm trying to something like in the subject, but does not work, any idea:

[jQuery] code not work when upgraded from 1.2.3 to 1.3.2

2009-06-07 Thread angelochen...@gmail.com
Hi, This code has been working in jQuery 1.2.3: var country = jQuery("sele...@name='country']").get(0).value; now in jQuery 1.3.2, I got this error: [Exception... "'Syntax error, unrecognized expression: [...@name='country']' when calling method: [nsIDOMEventListener::handleEvent]" nsresult:

[jQuery] Re: checking if there is a select in the form/html?

2009-02-15 Thread angelochen...@gmail.com
n Feb 15, 6:54 pm, RobG wrote: > On Feb 15, 8:41 pm, "angelochen...@gmail.com" > > wrote: > > Hi, > > I have this: > > var state = $("sele...@name='state']").get(0).value; > > but there are times there is no select element in the html,

[jQuery] checking if there is a select in the form/html?

2009-02-15 Thread angelochen...@gmail.com
Hi, I have this: var state = $("sele...@name='state']").get(0).value; but there are times there is no select element in the html, and cause this statement to fail, how to check if there is 'sele...@name='state']' present in the html? Thanks, Angelo

[jQuery] gettng value from radio buttons

2009-02-12 Thread angelochen...@gmail.com
Hi, I have two radio buttons, when user click I'd like to know what is value selected now inside updateoptns, but the code below always return '0', any idea how to do this? Thanks, Angelo Metric (kg/cm) function updateoptns() { var opt