Hello,
I am trying to call a javascript function from an onclick event as such:
When I call the function from the onclick event, I get the error:Code:onclick='saveRecord(1.1.1);'
"missing ) after argument list".
But when I pass this parameter it works:
Code:onclick='saveRecord(1.1);'
I've tried escaping the periods and adding quotes in the first example, but the error remains the same. Any idea how/if I can pass the parameter 1.1.1 to my function?
Appreciate your help!



Reply With Quote


Bookmarks