I need to search one field for multiple values. For example, user enters search query as 'apples and oranges'. The field lists the value a '1 apple, 2 grapes in oranges'.
Below is the statement that I am trying but I am not sure if the CONTAINS syntax is correct or even valid. I found this...
The following code finally worked:
<a href="#" onclick="if (ValidateCreditCard(document._Payment)) { document._Payment.submit();} else { return false; }" onmouseover="window.status='Complete Order';">
Thank you for your help :o)
Happy Thanksgiving!
Nevermind my previous post. I was:
javascript: onclick=Submit();
However, the form still submitted even through it did not pass the validation check.
Any other ideas?
Thank you for such I quick reply. I have added this to my form tag, however, what goes in the submit button code then?
NOTE: I am not using the standard HTML Submit button
<a href="javascript: SubmitForm()" onmouseover="window.status='Complete Order';return true"><img src="CompleteOrder.gif"...
I have the following script which is executed from a button:
function SubmitForm()
{
if (!(ValidateCreditCard('Payment'))) {
document._Payment.submit();
}
}
The form is only to submit, if it passes the 'ValidateCreditCard' check, however it is submitting the form even when it does...
I need to develop a way to send an XML Request to my application for testing. Currently, the application received the XML request from our customers e-Procecurement site. This works fine, however, I have to rely on them to initiate the request for testing. I would like to create an HTML form...
Dan -
I added the above code and it actually takes me out of the user's frameset, which is not allowed. They require us to stay within their frameset. Anyother thoughts?
Thanks again
Jill
Thanks again Dan -
This is very helpful. One last question, where would this code go. My first thought would be in general JavaScript tag. Like:
<SCRIPT LANGUAGE="JavaScript">
<!--
if (top.location != location) top.location = location;
// -->
</SCRIPT>
so that the location is properly set...
Yes, Dan - Our site is being displayed in someone elses frameset.
I am not familar with frameset breakout code. Can you supply some examples?
Here is my code for working with our cookies, which works great outside of the other company's frameset:
function SetCookie...
I having problems with setting and reading my cookies within a frameset. If I access the site/catalog outside the frameset the cookies work fine.
I read the post ( http://www.tek-tips.com/viewthread.cfm?qid=524721 )and ensured that my cookie was set correctly. However, I think my issue is...
Thank you Dan for your suggestion. I tried the history.go(-1); instead of the back and it did not make a difference. My javascript back button does not work and neither does the browsers back button.
Is it possible that the javascript code that generates the pop-up window is causing the...
My company's site uses little pop-up windows to get customer input for maintaining their product inventory, such as a location of the product. In Netscape, after the pop-up is opened and then closed the browser's 'Back' button and a javascript (onClick="history.back()") button do not work. Can...
Dave --
THANK YOU for the help - By renaming the window to "reord" + i now I am getting a new window for each item selected. However, your are correct in that it is burdensome.
The best would be if I could not continue in the FOR loop until the parent window is back in focus.
Any...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.