SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: Mozilla, button, location
-
Dec 2, 2003, 08:06 #1
- Join Date
- Apr 2002
- Posts
- 90
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Mozilla, button, location
Why this does not work in Mozilla?
<input type="button" name="cancel" value="Cancel" class="button"
onClick="location.href('page.php?m=per');">
-
Dec 2, 2003, 13:05 #2
- Join Date
- Mar 2002
- Location
- Manchester, UK
- Posts
- 853
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
1) Any chance you can give us a link to a page demonstrating the problem?
2) what, exactly, do you expect it to do?gav
http://www.livejournal.com/users/blufive/
browser stats analysis and comment:
http://www.livejournal.com/community/stats_weenie/
-
Dec 2, 2003, 14:03 #3
- Join Date
- Apr 2002
- Posts
- 90
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
After click new page should be loaded (page.php)
In IE it works and nothing happened in Mozilla
(click and nothing happened)
-
Dec 2, 2003, 17:02 #4
- Join Date
- Mar 2002
- Location
- Manchester, UK
- Posts
- 853
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Try amending
HTML Code:onClick="location.href('page.php?m=per');"
HTML Code:onClick="window.location.href='page.php?m=per';"
gav
http://www.livejournal.com/users/blufive/
browser stats analysis and comment:
http://www.livejournal.com/community/stats_weenie/
-
Dec 3, 2003, 06:02 #5
- Join Date
- Apr 2002
- Posts
- 90
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thaks. Solved.
location.href('page.php?m=per'); - not works
location.href='page.php?m=per';- works
Bookmarks