Example:
<a onclick="popitup('/upload/?path=/'+$("input[name=file]").val(),'')"> </a>
Please help to solve this problem.
Example:
<a onclick="popitup('/upload/?path=/'+$("input[name=file]").val(),'')"> </a>
Please help to solve this problem.
This is considered a bad practice because it makes it harder to maintain the javascript in the future because you will forget you have it inline in the code.
If you have to do this try this...
<a onclick="popitup('/upload/?path=/'+$(\"input[name=file]\").val(),'')"> </a>
you need to escape the inner double-quotes