Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: jsobo
  • Order by date
  1. jsobo

    Parsing Values in a selected combo box

    It is completely possible... You can do just about anything with client-side javascript... especially in IE... Sorry I don't have time to help you with this but here is a great reference... http://devedge.netscape.com/library/manuals/2000/javascript/1.3/reference/frames.html Also if you are...
  2. jsobo

    is it possible to return input from custom dialog window

    Whoops... in my haste I forgot to remove the actual code I copied the example from.. so ignore the commented out code... //var dt; //var cl = document.all.cal //dt = cl.month + "/" + cl.day + "/" + cl.year //opener.document.forms[0].ef_tvarchar_tDate_sRec.value=dt; //...
  3. jsobo

    is it possible to return input from custom dialog window

    You have 2 options... (as I see it) Option #1 Use a div that is hidden and then display it when you need it... it can be absolutly positioned on the page so it will in affect hover over your page... Since it is on the same page (document) it is easy to retrieve the info and then hide the div...
  4. jsobo

    Cancel Submit, Return to Form

    one more example --------------------------------- <html> <head> <script> function validate(){ return confirm(&quot;Are you sure you want to submit?&quot;) } </script> </head> <body> <form method='get' onsubmit='return validate()'> <input type='hidden' name='stuffForQuerystring'...
  5. jsobo

    Cancel Submit, Return to Form

    Look I have no clue what you have messed up... but here is a working simple example... -------------------------------------------------------- <html> <head> <script> function validate(ths){ if (ths.silly.value.toLowerCase() != &quot;no&quot;){ alert(&quot;I said NO!!!!&quot;); return...
  6. jsobo

    Cancel Submit, Return to Form

    forget the event.returnValue=false; change to onsubmit='return validate()' and then just return false from your validate function if your validation fails
  7. jsobo

    Cancel Submit, Return to Form

    show your validate function... if this doesn't work but you should change your onsubmit to be... onSubmit=&quot;return Validate();&quot; make sure your Validate function returns false if you don't want the page to sumbit... good luck
  8. jsobo

    I have had many people suggest that

    I would answer your question with a question... do you have a performance problem now? If not go with the most simple... easiest code to understand... But this is just a generality as I cringe everytime I see context swithing within a loop... so if you are interested check out these links...
  9. jsobo

    Cancel Submit, Return to Form

    you should put the return confirm('Submit form?'); in the onsubmit event of your form... <form onsubmit='return(confirm(&quot;Submit form?&quot;);' ... That should work...
  10. jsobo

    call external program, call winrar

    That is all fine and dandy but it won't work from asp... as the wscript object is not available because the wscript or cscript engine is not running the vbscript... If you find a way to do this I would love to know... As far as I know there is no way to invoke a command from an asp program...
  11. jsobo

    opening files?

    The constanT ForReading is not defined... you must either define it yourself or add a reference to the dll that contains those constants... in this case it is the scripting runtime... You could add this (see metadata tag below) to your asp page or in your global.asa or.. if you are using MS...

Part and Inventory Search

Back
Top