Javascript Problem in ASP.Net
-
Hi, Sir, 1)When pass javascript function in my server side custom control then he give me error 'Object Expected' but my function already exits in my javascript file. ? 2)When pass javascript function in my server side custom control then he give me error 'Undefied' but my textbox or control alrady already exits in my javascript file. ? Please send solution Thanks & Regards lav naphade
lav naphade
-
Hi, Sir, 1)When pass javascript function in my server side custom control then he give me error 'Object Expected' but my function already exits in my javascript file. ? 2)When pass javascript function in my server side custom control then he give me error 'Undefied' but my textbox or control alrady already exits in my javascript file. ? Please send solution Thanks & Regards lav naphade
lav naphade
-
Hi, Sir, 1)When pass javascript function in my server side custom control then he give me error 'Object Expected' but my function already exits in my javascript file. ? 2)When pass javascript function in my server side custom control then he give me error 'Undefied' but my textbox or control alrady already exits in my javascript file. ? Please send solution Thanks & Regards lav naphade
lav naphade
have u just checked the HTML code(after execution) of the page where you've put that control? check that the names are same as the name used to get control by javascript.... if possible then provide code..
Ashish Sehajpal
-
have u just checked the HTML code(after execution) of the page where you've put that control? check that the names are same as the name used to get control by javascript.... if possible then provide code..
Ashish Sehajpal
Make sure any syntax errors on your javascript function and double check the control client Id's in view source.
smile :-)