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

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -