try putting the dates in
single quotes, like this (assuming they are to be two separate values): <a href="" class="moz-txt-link-rfc2396E" href="_javascript_:submit_data('2008-10-05','2008-11-04');">"_javascript_:submit_data('2008-10-05','2008-11-04');" >2008-10-05 - 2008-11-04</a> balavignesh wrote: Hai Friedns, i have following three links on my page ,<a href="" class="moz-txt-link-rfc2396E" href="_javascript_:submit_data(2008-10-05,2008-11-04)">"_javascript_:submit_data(2008-10-05,2008-11-04)" >2008-10-05 - 2008-11-04</a> <a href="" class="moz-txt-link-rfc2396E" href="_javascript_:submit_data(2008-09-05,2008-10-04)">"_javascript_:submit_data(2008-09-05,2008-10-04)" >2008-09-05 - 2008-10-04</a> <a href="" class="moz-txt-link-rfc2396E" href="_javascript_:submit_data(2008-08-05,2008-09-04)">"_javascript_:submit_data(2008-08-05,2008-09-04)" >2008-08-05 - 2008-09-04</a> Whenever i click these links it should be posted with corresponding values (start_date & end_date) to the ajax function using jquery. My questions is, how can i send the values as the arguments from the links to the jquery ajax function? Thanks & Regards, Balavignesh. |
- [jQuery] How to pass arguments from link to ajax function balavignesh
- [jQuery] Re: How to pass arguments from link to ajax func... Leapfrog!