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>

i have the option of

/" suggest some thing else

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.