pass string parameter to javascript function from html

 

 

 

 

That function takes two parameter and both are String type.Not the answer youre looking for? Browse other questions tagged javascript html dynamic hyperlink or ask your own question. I have an XML string which I want to pass to a java script function, where I am displaying that in different window with use of window.open() methodShow us the code or a link to a test page. Usually, JavaScript works with XML objects, not XML strings. Here is the way I am doing this Eg1.htm