954,198 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

PLz its very urgent.

Hi everybody,

I am facing problem in javascript.
I got javascript code for desiging a input form.
That code is saved as test.html file.
My Doubt is:

1) How do i use in my mainpage.aspx?

PLz its very urgent.

Thank you all

pravly
Newbie Poster
4 posts since Feb 2007
Reputation Points: 10
Solved Threads: 0
 

One, this is JSP section of this forum and JSP stand for Java Server Pages
Two, JavaScript has nothing to do with Java, as JS is scripting language and Java is programming language(needs to be compile first and then can be executed)
Three, you should post it in ASP part of this forum

PS:Request for moving this post to ASP section been sent, so please DO NOT create another post there

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 901
 

You take out the relevant javascript portions and save it as a .js file, then include it like any other javascript file in your aspx source.

nikkiH
Junior Poster in Training
79 posts since Dec 2006
Reputation Points: 13
Solved Threads: 4
 
You take out the relevant javascript portions and save it as a .js file, then include it like any other javascript file in your aspx source.




how to include javascript file in a aspx source...
plz expalin it detailly

pravly
Newbie Poster
4 posts since Feb 2007
Reputation Points: 10
Solved Threads: 0
 
how to include javascript file in a aspx source... plz expalin it detailly

I'm not ASP guru, I don't even know ASP because of certain reasons but with quick google search I come up with two findings A simple quiz program in ASP and JavaScript
ASP and Javascript together

And if all this is so "urgent" why didn't you search internet, ... :?:

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 901
 

You include it exactly the same as you would in an html file. An aspx file is still markup, just like html, and normal markup tags are allowed in addition to special aspx tags.
So,

nikkiH
Junior Poster in Training
79 posts since Dec 2006
Reputation Points: 13
Solved Threads: 4
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You