PDA

View Full Version : Pass the value through jquery



mahes
7 Jul 2009, 3:25 AM
Hi all,

I can not pass the value using jquery in smarty page, see the code



<div>
{php} print $sUrl = KTUtil::kt_url().'/plugins/ktstandard/documentpreview/documentPreview.php';
print "<br>".$sDir = KT_DIR;{/php}
<script type="text/javascript">{literal}$(document).ready(function(){
createSearchBar2("mb2","1","1","{$sUrl}","{$sDir}");;
});{/literal}
</script></div>


In this code i want to pass the value $sUrl, but it wll not pass in to createSearchBar2 function.

What is the problem...

jay@moduscreate.com
7 Jul 2009, 4:54 AM
Stop multiposting the same question dude.

http://extjs.com/forum/showthread.php?t=73500

http://extjs.com/forum/showthread.php?t=73499

tryanDLS
7 Jul 2009, 6:08 AM
Duplicate post removed.

What does this have to do with Ext? Doesn't jQuery have a support forum?