Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old July 5th, 2003, 08:51 AM
zuzupus zuzupus is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 82 zuzupus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
redirecting problem

hi,

i created button in form
<form>
<INPUT type="button" value="OK" onClick="popupMsg('are you sure to save');" window.location.href="save.html";self.close();>
</form>

when i click this button a pop up message opnes up and when i click on OK then this window save.html is submitting on same page i want to locate in parent how clould i do that so that this save.html should submit to the very first form (xyz.html)where i started

if anybody helps me i will be very grateful

regards

Reply With Quote
  #2  
Old July 6th, 2003, 05:39 PM
tkarkkainen's Avatar
tkarkkainen tkarkkainen is online now
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: Finland
Posts: 2,320 tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)tkarkkainen User rank is Lance Corporal (50 - 100 Reputation Level)  Folding Points: 10700 Folding Title: Novice Folder
Time spent in forums: 6 Days 8 h 46 m 35 sec
Reputation Power: 4
RE: redirecting problem

I can't understand clearly what your problem is but I sense a mistake in your code:

php Code:
Original - php Code
  1.  
  2. <script language="JavaScript">
  3. function func() {
  4. popupMsg('are you sure to save');
  5. window.location.href="save.html";
  6. self.close();
  7. }
  8. </script>
  9. <form>
  10. <INPUT type="button" value="OK" onClick="javascript:func();">
  11. </form>

Reply With Quote
  #3  
Old July 7th, 2003, 07:22 AM
zuzupus zuzupus is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 82 zuzupus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: RE: redirecting problem


hi,
let say below script is saved as asd.html
<script language="JavaScript">
function func() {
popupMsg('are you sure to save');
window.location.href="save.html";
self.close();
}
</script>
if i use this window.location then this save.html submits in asd.html itself infact there is no sense of using this window.location as this window will be close once alert message is clicked OK so user will not be able to see this save.html i want him to see this save.html on another window(form) let say test.html,as this save.html is coming from asd.html

i will be appreciate for ur response

thanks

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > redirecting problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway