• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

posting a form in a new window

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello ,
I am trying to create a form with two buttons
The buttons I am naming as - "Create" and "Preview"

When I click on - "Create" - I would like the form to be submitted in the same window ( as we normally do )

However - when I click on - "preview" - I want to submit the form - in a new window( I want to use POST -
I do not want to use query string to pass data )

Can someone please point me to some code examples as to how I can achieve this ?

Is this possible ?

Thanks in advance ,
-anagha
[ May 19, 2005: Message edited by: pendse anagha ]
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_21067228.html

Eric
 
pendse anagha
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Eric ,
The site that you have been so kind to point to me is a paid preview site
I am kinda poor to afford the money that it needs
So I am shamelessly looking for some free help !!

Thanks ,
-anagha
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to scroll down the page, ignore the sign up stuff...
 
pendse anagha
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Eric ,
Thanks !
I guess I was hasty in my reply - and once again thanks for your patience .

I am not good in Javascript and hence dont seem to like it !

Ok - here is what I got from the message trail and it worked for me
Thanks !

Here is what I have in my code :


I hope this is helpful to other ranchers too.
Thanks ,
-anagha
reply
    Bookmark Topic Watch Topic
  • New Topic