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

iphone - How do I make a UIPickerView in a UIActionSheet -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -