jquery and asp.net scriptlet usage issue -


function submitvalues(url, params)  {    var form = [ '<form method="post" action="', url, '">' ];    form.push('<input type="hidden" name="', key, '" value="', params[key], '"/>');    form.push('</form>');    jquery(form.join('')).appendto('body')[0].submit(); } 

if write line like

form.push('<input type="hidden" name="mydata" value="', <%  =system.web.configuration.webconfigurationmanager.appsettings["websiteurl"] %>, '"/>'); 

then getting error....not being able handle this. need suggestion rectify code. thanks


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -