script =@"<HTML>\n"
"<HEAD>\n"
"<TITLE></TITLE>\n"
"<script language=\"javascript\">\n"
"function openQuote(){\n"
" quoteForm.submit();}\n"
"</script>\n"
"</HEAD>\n"
"<BODY>\n"
"<form name=\"quoteForm\" url=\"http://localHost/Pages/CaseManagement.aspx?Page=CaseActivity\">\n"
// <input type="text" id="caseID" value="CA0S491"/>
" </form>\n"
" <input type=\"button\" onClick=\"openQuote();\" value=\"Click Me\"/>\n"
"</BODY>"
" </HTML>\n";
I need to inject javascript on native button click
问问题
213 次