0

i have a function like
i have quote issue with the function. I have to use this object in javascript code due to some reasons

i cant use double quotes two times. i have to use single quotes around parameter as well. what should i do. please suggest.

<script language='javascript' >

document.write( " image src='test.jpg' name='save' onclick="testing('parameter1','parameter2')"  " );



function testing(a,b)
{
some action on this function
}
</script>
1
Contributor
1
Reply
2
Views
8 Years
Discussion Span
Last Post by BzzBee
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.