asp.net - add pages to masterpage gives me javascript error -


I have a page that uses some javascript code to run, it was working fine This master page But gives me an error from javascript

  var fu1 = document.getElementById ("FileUpload1"); Var ex1 = extension (fu1.value);  

Where do I add javascript to the master page

Try

  var fu1 = document.getElementById ("& lt;% = FileUpload1.ClientID%>"); Var ex1 = extension (fu1.value)  

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -