Passing an object-string to a javascript-function -
I am trying to pass a string like this:
{" Key ": undefined," key4 ": Undefined," key4 ": Undefined," key5 ":" value "}
A JavaScript- Functions like:
& lt; A href = "#" onClick = "myfunction (myString);" & Gt;
But the right to escape can not be found. Is there a way to pass that object string to a function or do I need to change something?
Greetings, selection 0 r
edit:
In the light of your recent comment, I went back to the browser and tried it (works for me):
The change means that it is no longer being passed as a string, but in the form of an object parameter for my function.
Comments
Post a Comment