Javascript coding for link a website to another upon verify the form

Ads

 
 

Share on Google+Share on Google+

afifa
Javascript coding for link a website to another upon verify the form
2 Answer(s)      8 years ago
Posted in : Java Beginners
Ads
View Answers

December 25, 2008 at 11:56 PM


Hi friend,

Code to solve the problem :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>

<SCRIPT language="JavaScript">
<!--
function winGo()
{
window.location.href="http://abc.com";;
}
//-->
</SCRIPT>


</HEAD>

<BODY>
<input type="button" name="go" value="Go" onclick="winGo();">
</BODY>
</HTML>


For read more information on Javascript visit to :

http://www.roseindia.net/javascript/

Thanks


December 25, 2008 at 11:56 PM


Hi friend,

<html>
<head>
<script type="text/javascript">
<!--
function myPopup() {
window.open( "http://www.roseindia.net/"; )
}
//-->
</script>
</head>
<body>
<form>
<input type="button" onClick="myPopup()" value="Click me">
</form>
<p onClick="myPopup()">CLICK ME TOO!</p>
</body>

</HTML>

--------------------------------------

Visit for more information.

http://www.roseindia.net/javascript/

Thanks.

Ads









Related Tutorials/Questions & Answers:
Javascript coding for link a website to another upon verify the form - Java Beginners
Javascript coding for link a website to another upon verify the form  Pls tell me javascript coding for " open a website when we click the verify button in the form? ( after verifying the form go to the desired website). 
swings:how to link from one form to another form
swings:how to link from one form to another form  how to link from one form to another form
Advertisements
Link to a website
Link to a website  I have created a mobile application.Now I want to insert a link to a website so that when mobile user selects that link he is directed to that website
Charset problem upon publishing PHP + MySQL website
Charset problem upon publishing PHP + MySQL website  Charset problem upon publishing PHP + MySQL website
JavaScript link
JavaScript link...; In this section, you will learn about the text property of Link object in JavaScript. JavaScript's Link object has the property text which allow the user to get the text
How to add nofollow in website link?
How to add nofollow in website link?  Hi, I want to add nofollow in my outgoing links. What is the code? Thanks   Hi, Here is the code: <a rel="nofollow" href="http://">Click Here to visit</a>
JavaScript Form Validation
JavaScript Form Validation  JavaScript Form Validation
JavaScript Change link
JavaScript Change link's text...; In this section, you will learn how to change the link's text in JavaScript. The modification of HTML code is quite simple. Now to modify the link's text
I need to display parts of my own website on another website in an iframe
I need to display parts of my own website on another website in an iframe  I need to display parts of my own website on another website in an iframe. please refer me how do i do
javascript form submission
javascript form submission  how can apply validation when doing submission like following <html> <script type="text/javascript...; Please visit the following link: http://www.roseindia.net/javascript
Sending mail (Contact Form in a website)
Sending mail (Contact Form in a website)  Hi, I just uploaded few of my webpages into a free web hosting service, where i can just upload the web pages. Am very much new into this field. I want to write a contact form, which
form registration on JavaScript
form registration on JavaScript   i want form of registration on JavaScript > < check the name is string or number & if the name number output error >> and the same of email and birthday and country >> <
JavaScript link method
JavaScript link method       JavaScript link method is used to create a hyperlink for any string. While we use the link method it creates hyperlink programmatically
JavaScript Open link in new window
JavaScript Open link in new window... the link using JavaScript.  To open a new window with a link within the web page, we have used the JavaScript method window.open(). Now in order to give
javascript form validation
javascript form validation  How to validate radio button , dropdown list and list box using onsubmit event..please give me a sample example..If we do...; } return true; } </SCRIPT> </HEAD> <form name="f1" onsubmit
Form Validation with JavaScript
Form Validation with JavaScript  I created a simple form including nine or ten fields in HTML, and i want to validate it in JavaScript. How can i do...: <html> <script src="validateForm.js"> </script> <form
force a page to go to another page using JavaScript
force a page to go to another page using JavaScript  How to force a page to go to another page using JavaScript
Problem with Link To website with my Java Appliaction - Java Beginners
Problem with Link To website with my Java Appliaction  Hello Sir Here is Main Menu Form,I want to open website on Visit US Button Click Plz Give Me... in that Form. //MAIN MENU FORM import java.io.*; import java.awt.*; import
How to embed a Javascript in your wordpress website?
How to embed a Javascript in your wordpress website?  Hi, I own a wordpress website that offers a wide range of premium accounts of allmajor File..., Megaupload, etc. And now I want to insert a javascript into my wordpress website
Html form using JavaScript to display the table content
Html form using JavaScript to display the table content  HI There, Greetings, I am new to this java and I need your assistance. I have created... want to write a Html JavaScript coding to display the content from database
how to scrape the data from one website another website using html dom parsing in php
how to scrape the data from one website another website using html dom parsing in php  " how to scrape the data from one website another website using html dom parsing in php" i'm trying this one .please provide code for me
PHP JavaScript form Validation - PHP
PHP JavaScript form Validation  Just looking for a general PHP JavaScript form Validation. How can I write external JavaScript Validation? Please suggest!  Hi Friend, 1) form Enter Name Enter Address
website
website  design and coding of first page of any forum website in jsp
For my website,As soon as the user is able to succesfully login, a Testimonial form appears.
For my website,As soon as the user is able to succesfully login, a Testimonial form appears.  For my website,As soon as the user is able to succesfully login, a Testimonial FORM appears in the same page. How to do. Please Help
LINK
LINK  I have four links which link to a table,if i click one link...').style.visibility='hidden'; } </script> <br> <a id="link1" href="javascript...;/center> <form name="form" method="post" onsubmit="return validate();">
link
and when a particular option is clicked it should be saved in another database and details related to that link should be diaplay and stored in the database... which when clicked displays some data and "conference " is stored in another
Dynamically added Row is Invisible in another javascript function..?
Dynamically added Row is Invisible in another javascript function..?  I have table as below, I need to create 5 default rows, ( this is fine... is not visibile in another java script function. scripts are pasted at the bottom
passing values form javascript - JSP-Interview Questions
passing values form javascript  please i want to pass values from javascript function to jsp code how can i do
Javascript Form validation Example
Javascript Form validation Example In this section we will discuss about how to validate your application form in javascript. In many applications data... am giving a simple example for form validation using Javascript. Example
Displatying java script form submitted elements in another page
Displatying java script form submitted elements in another page   hi... after submitting the registration form. I want to get the values after submitting the form
coding
coding  how to write a code for searching a link in another jsp file?pl give the soln soon

Ads

 
Advertisement null

Ads