How To Call Outside Javascript File?
Example : Our Project File Folder Name "Sample" Another
Folder Name "Check".Check Folder Is Out Side Of Our
Project ?Check Folder Have Verify.Js File. My Question Is
How To Call Verify.Js File.
Answers were Sorted based on User's Feedback
Answer / varun
If you want to access a java script file from outside the
project folder then follow this:-
<script src="../verify.js" type="text/javascript">
</script>
this way where ever this file will be located; it will be
fetched.
thanks
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / sanjay
You can call in header section with following code.
<script src="myJavaScript.js"
type="text/javascript"></script>
Is This Answer Correct ? | 3 Yes | 3 No |
Answer / vikas
Assuming the following directory structure:
~/Sample/project.html
~/Check/verify.js
to use the javascript file in project.html insert the below
code between the <head> and </head>:
<script src="../Check/verify.js" type="text/javascript">
</script>
Is This Answer Correct ? | 2 Yes | 4 No |
How many web config files can be created for an application?
Can you explain what inheritance is and an example of when you might use it?
Explain the concept of MVC Scaffolding?
How we implement the multiple paypal value with gridview in my website and how we make a payment through Credit Card.
Is asp.net different from asp? If yes, explain how?
Explain diff between dataset and datareader?
What is the role of global.asax?
diff between Server.Transfer() and Server.Execute()
What are the data controls available in asp.net?
One application have three forms for registration .submit button is at third form.after filling three forms only u have to click submit button.After clicking the submit button all the values in first,second& third form saved on sql server.how to handle this situation .
hi i have a problem regarding to datagrid in aspdotnet.i have a datagrid in my application.i have to place add,edit,delete buttons or links what ever it may be. now the problem is if i click on add button then the page has to redirected to another form called "xyz.aspx" and if i click on edit button the page has to redirected to another form called "abc.aspx".i am phasing the problem that if where ever i click on the datagrid the cursor goes to gv1_SelectedIndexChanged event.please tell me the solution about the code.
How would you get asp.net running in apache web servers?