Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training  
 

js

Ads

 
 

Share on Google+Share on Google+

ram
js
1 Answer(s)      8 years ago
Posted in : Java Server Faces Questions
Ads
View Answers

October 18, 2008 at 3:50 PM


Hi friend,

1. First, make a javaScript function and define it exactly as below,

<script language="javascript" type="text/javascript">
function redirect(URL)
{
document.location=URL;
return false;
}
</script>


2. Now, define the hyperlink with the status bar text in href attribute and call the above function from onClick attribute of the link like below,


<a href="http://www.roseindia.net.com"; onclick="return
redirect('http://www.roseindia.net/?referrer=225');">Click here</a>


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

Thanks

Ads









Related Tutorials/Questions & Answers:
EXT JS
EXT JS   i want to create a grid in extjs to display data from mysql and if i want to edit the data i must update through extjs only and must update in mysql database. please help me with sample code. thank you
Lightbox JS
Lightbox JS/font>       Lightbox JS is a simple, unobtrusive script used to overlay images on the current page. It`s a snap to setup and works on all modern browsers. Read full
Advertisements
xls to js using javascript
xls to js using javascript  ![how can we convert a xls file in js file using javascript][1
Version of rhino>js dependency
List of Version of rhino>js dependency
Version of jaxme>jaxme-js dependency
List of Version of jaxme>jaxme-js dependency
Version of com.belteshazzar>junit-js dependency
List of Version of com.belteshazzar>junit-js dependency
js,,mysql - JSP-Servlet
js,,mysql  Hi, I want a jsp code for editing,deleting data retrieved from from the mysql database and displayed in a html page .Can anybody provide me a code for including edit and delete options with the following code
Configure Js request in Web.xml
Configure Js request in Web.xml  Hi all, I have 1 basic doubt,suppose i have 2 jsp,1 servlet,1 web.xml file.i need to redirect 1 page via servlet with help of web.xml file.Here just i need to redirect to mainCtrl.java
Help for website development on Angular JS
Help for website development on Angular JS  want to develop a website using angular JS. I am new to the platform or coding on angular JS. Can i update a database column and get that data uploaded on my webpage simultaneosuly
Maven Dependency js >> 1.5R3
You should include the dependency code given in this page to add Maven Dependency of rhino >> js version1.5R3 in your project
Maven Dependency js >> 1.5R4.1
You should include the dependency code given in this page to add Maven Dependency of rhino >> js version1.5R4.1 in your project
Maven Dependency js >> 1.5R4-RC3
You should include the dependency code given in this page to add Maven Dependency of rhino >> js version1.5R4-RC3 in your project
Maven Dependency js >> 1.6R1
You should include the dependency code given in this page to add Maven Dependency of rhino >> js version1.6R1 in your project
Maven Dependency js >> 1.6R2
You should include the dependency code given in this page to add Maven Dependency of rhino >> js version1.6R2 in your project
Maven Dependency js >> 1.6R3
You should include the dependency code given in this page to add Maven Dependency of rhino >> js version1.6R3 in your project
Maven Dependency js >> 1.6R5
You should include the dependency code given in this page to add Maven Dependency of rhino >> js version1.6R5 in your project
Maven Dependency js >> 1.6R6
You should include the dependency code given in this page to add Maven Dependency of rhino >> js version1.6R6 in your project
Maven Dependency js >> 1.6R6-candidate2
You should include the dependency code given in this page to add Maven Dependency of rhino >> js version1.6R6-candidate2 in your project
Maven Dependency js >> 1.6R7
You should include the dependency code given in this page to add Maven Dependency of rhino >> js version1.6R7 in your project
Maven Dependency js >> 1.7R1
You should include the dependency code given in this page to add Maven Dependency of rhino >> js version1.7R1 in your project
Maven Dependency js >> 1.7R2
You should include the dependency code given in this page to add Maven Dependency of rhino >> js version1.7R2 in your project
Version of com.lihaoyi>utest-js-plugin dependency
List of Version of com.lihaoyi>utest-js-plugin dependency
Version of com.marekkadek>rxscala-js-cats_sjs0.6_2.11 dependency
List of Version of com.marekkadek>rxscala-js-cats_sjs0.6_2.11 dependency
Version of com.marekkadek>rxscala-js-cats_sjs0.6_2.12 dependency
List of Version of com.marekkadek>rxscala-js-cats_sjs0.6_2.12 dependency
Version of be.tzbob>scala-js-snabbdom_sjs0.6_2.12 dependency
List of Version of be.tzbob>scala-js-snabbdom_sjs0.6_2.12 dependency
Version of cat.inspiracio>rhino-js-engine dependency
List of Version of cat.inspiracio>rhino-js-engine dependency
Version of cn.jhc>umeditor-vaadin-js dependency
List of Version of cn.jhc>umeditor-vaadin-js dependency
calling servlet from JS and return response from servlet to JS
calling servlet from JS and return response from servlet to JS  hello all, I am working on JSP-servlets n MVC.I am facing a problem. on the web..."; response.setContentType("text/plain"); response.getWriter().write(url); in js function
Maven Dependency jaxme-js >> 0.2
You should include the dependency code given in this page to add Maven Dependency of jaxme >> jaxme-js version0.2 in your project
Maven Dependency jaxme-js >> 0.3
You should include the dependency code given in this page to add Maven Dependency of jaxme >> jaxme-js version0.3 in your project
Maven Dependency jaxme-js >> 0.3.1
You should include the dependency code given in this page to add Maven Dependency of jaxme >> jaxme-js version0.3.1 in your project