| You are here: DEVPPL ‹ Forum ‹ Programming ‹ Java Forum |
NOTIFICATIONS
|
|
|||||||||||||||
Login |
Need To Modifiy Java Code On a onclick Button Command
2 posts
• Page 1 of 1
0
Need To Modifiy Java Code On a onclick Button Command
I need to modify the below code so instead going to the previous page I want to to the home page of the website (http://www.dubinphotos.com)
====================================
<BR><BR>
<CENTER><FORM><input type=button value="Back to File Upload" onclick="history.back();"></form></CENTER>
<BR><BR>
=====================================
I would really appreciate some help on this change.
Thanks,
ADubin
====================================
<BR><BR>
<CENTER><FORM><input type=button value="Back to File Upload" onclick="history.back();"></form></CENTER>
<BR><BR>
=====================================
I would really appreciate some help on this change.
Thanks,
ADubin
- ADubin
- Reputation: 0
- Posts: 1
- Joined: Sat Oct 04, 2008 8:45 pm
- Highscores: 0
- Arcade winning challenges: 0
Need To Modifiy Java Code On a onclick Button Command - Sponsored results
- Sponsored results
0
First of all, you should know by now, that JAVA is far different from Javascript.
Your problem is Javascript and not otherwise. I guess webmaster or some moderators will move this in the right place for you.
Secondly, you should be aware that center is a deprecated tag.
For your problem, replace highlighted:
<input type=button value="Back to File Upload" onclick="history.back();">
...with:
Hope that helps.
Your problem is Javascript and not otherwise. I guess webmaster or some moderators will move this in the right place for you.
Secondly, you should be aware that center is a deprecated tag.
For your problem, replace highlighted:
<input type=button value="Back to File Upload" onclick="history.back();">
...with:
- Code: Select all
location.href='http://www.dubinphotos.com'
Hope that helps.
- Rangana
- Reputation: 1
- Posts: 935
- Joined: Wed Feb 27, 2008 6:14 am
- Location: Cebu City Philippines
- Highscores: 0
- Arcade winning challenges: 0
|
|