Click here to Skip to main content
16,006,531 members
Home / Discussions / Web Development
   

Web Development

 
QuestionProblem with Crystal report when isapi filter is set in ASP Pin
ClaireDorothy25-Jan-07 3:10
ClaireDorothy25-Jan-07 3:10 
Questiontooltip text for combo box value in asp Pin
Rakesh.Jha.011025-Jan-07 1:32
Rakesh.Jha.011025-Jan-07 1:32 
AnswerRe: tooltip text for combo box value in asp Pin
badgrs26-Jan-07 0:28
badgrs26-Jan-07 0:28 
Questionballon message for password textbox Pin
praveenanand25-Jan-07 0:50
praveenanand25-Jan-07 0:50 
AnswerRe: ballon message for password textbox Pin
Bradml25-Jan-07 1:09
Bradml25-Jan-07 1:09 
GeneralRe: ballon message for password textbox Pin
badgrs26-Jan-07 0:32
badgrs26-Jan-07 0:32 
GeneralRe: ballon message for password textbox Pin
Bradml26-Jan-07 0:41
Bradml26-Jan-07 0:41 
QuestionForm Method Pin
Tyler4524-Jan-07 10:20
Tyler4524-Jan-07 10:20 
Hi to All!
I have one form! and I have to do 2 process for this form. one of them is Submit another is preview. But i have to do preview in new window, submit is on same window. I found this on codeproject here is the code below
<br />
<script language=javascript><br />
    function OnButton1()<br />
    {<br />
            document.Form1.action = "onizleme.jsp"<br />
            document.Form1.target = "_blank";	     // Open in a new window<br />
            document.Form1.submit();			// Submit the page<br />
            return true;<br />
    }<br />
<br />
    function OnButton2()<br />
    {<br />
            document.Form1.action = "gonder.jsp"<br />
            document.Form1.submit();			// Submit the page<br />
            return true;<br />
    }<br />
    </script><br />
    <noscript>You need Javascript enabled for this to work</noscript><br />
    <br />
   <br />
   <!-- create the form --><br />
    <form name=Form1 method=post><br />
<br />
    <!-- Add the data entry bits --><br />
    Your Name <INPUT type="text" name=txb><br><br />
<br />
    <!-- Add some buttons --><br />
    <INPUT type="button" value="Preview" name=button1 onclick="return OnButton1();"><br />
    <INPUT type="button" value="Submit" name=button2 onclick="return OnButton2();"><br />
<br />
    <!-- close the form --><br />
    </form><br />


But problem is that:
If i first click submit and second i click preview it is ok
but if i first click preview and then second i click submit button, submit process open in new window.
How can i handle this.
Thanks for your helps
Best Regards
AnswerRe: Form Method Pin
Tyler4524-Jan-07 10:34
Tyler4524-Jan-07 10:34 
QuestionCustom sort XML datagrid Pin
bartbauldry24-Jan-07 5:28
bartbauldry24-Jan-07 5:28 
Questionfix control location fix while page can scroll Pin
KETAN K.24-Jan-07 0:08
KETAN K.24-Jan-07 0:08 
AnswerRe: fix control location fix while page can scroll Pin
badgrs25-Jan-07 0:27
badgrs25-Jan-07 0:27 
Questionjavascript:window.onunload() [modified] Pin
El'Cachubrey23-Jan-07 23:49
El'Cachubrey23-Jan-07 23:49 
AnswerRe: javascript:window.onunload() [modified] Pin
Nibu babu thomas23-Jan-07 23:57
Nibu babu thomas23-Jan-07 23:57 
GeneralRe: javascript:window.onunload() Pin
El'Cachubrey24-Jan-07 2:31
El'Cachubrey24-Jan-07 2:31 
GeneralRe: javascript:window.onunload() Pin
szukuro24-Jan-07 3:22
szukuro24-Jan-07 3:22 
GeneralRe: javascript:window.onunload() Pin
El'Cachubrey24-Jan-07 22:43
El'Cachubrey24-Jan-07 22:43 
Questionprint preview Pin
merapyar23-Jan-07 23:01
merapyar23-Jan-07 23:01 
AnswerRe: print preview Pin
Bradml23-Jan-07 23:20
Bradml23-Jan-07 23:20 
GeneralRe: print preview Pin
merapyar23-Jan-07 23:27
merapyar23-Jan-07 23:27 
GeneralRe: print preview Pin
Bradml23-Jan-07 23:37
Bradml23-Jan-07 23:37 
GeneralRe: print preview Pin
merapyar24-Jan-07 0:32
merapyar24-Jan-07 0:32 
GeneralRe: print preview Pin
Bradml24-Jan-07 0:54
Bradml24-Jan-07 0:54 
GeneralRe: print preview Pin
Bradml24-Jan-07 1:21
Bradml24-Jan-07 1:21 
GeneralRe: print preview Pin
merapyar24-Jan-07 1:44
merapyar24-Jan-07 1:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.