Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem while calling function

Status
Not open for further replies.

jayprakash

Programmer
Dec 5, 2000
1
US
HI

I tried to invoke JS function which exists in same page and I have src="validation.js" too. I got error and i am able to invoke same function with out src="validation.js"

Can U tell me what's the problem I had when I tried with function from current page and src="validation.js". Can't i do like that.

<SCRIPT language=&quot;JavaScript&quot; src=&quot;../javaScript/Validation.js&quot;>

function dothis() {
// some stuff
}
</SCRIPT>



 
try placing it in a separate script tag... for your include scripts, just have them include, use another script block for everything else jared@aauser.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top