Hi,
I wrote this function and the function works as long as I pass along the input fields that it needs to run the function. I've been looking at function examples and I see a lot of using "this" in the function argument. I try to do this and it never works. It always says that "Object...
Hi,
I'm a newbie when it comes to JavaScript. I'm trying to write a script where I have some hidden fields from a form. These fields are shipping prices. What I want to do is in the field item_quantity_1, when a new number is input in there I have an onchange command. That command triggers...
Hi everyone,
I am some what new to JavaScript and I'm having a problem displaying my results from a function. The function is working, but the problem is that I have a form with a dropdown list that is a quantity field. What I would like it to do is when the user selects a number in the...
Hi All,
I'm not that this can be done in JavaScript, but what I'm trying to do is have a dropdown list with numbers in the list representing a quantity. I put an "onchange" on the dropdown list:
<script language="javascript">
var qty = document.testform.element.qty.value;
function testfor(){...
Hi,
I'm trying to write a PHP script to create a MySQL table. When I try to run the script, it won't create the table. I noticed that it will create it if I don't put "auto_increment" or "Primary key" in the script. If I take those two things it works great, but when I try to put that in, it...
I have a href link where I want to open a pop up window when someone clicks on the link. Ive tried it this way, but the parent page would change and say [NULL].
<div class="abs">
<a class="emaillink"...
Hi all,
I was wondering if anybody would know where I could find some examples of JavaScript code for auto-populating a text area field when an item from a drop down list is selected.
I want to be able to take information that is selected from the drop down list and automatically put it in a...
Hi All,
I have an "INSET INTO" question. When I want to insert data from a form into my database, do I have to list all of the columns that are in the database? And do they have to be in order, the way that they are listed in the database.
This is driving me up the wall here!
I have this form where based on if a checkbox is selected the action file on the form will change. First can this be done and how do I write a javascript variable to change in the action="change variable" of the form properties? Say by default, the action...
Hi,
I am running a script on CSS Menu and in Netscape and Internet Explorer it's coming up with an error saying "objDropMenu has no properties" line 23(objDropMenu.style.visibility = 'hidden';). Can someone tell me what that means? I can't seem to see the Syntax error, but there is one right...
Hi, I've been trying to figure this out. I have a form with a PayPal "add to cart" button. When you select "Add to Cart" another window will open directing it to the PayPal page. That works fine, you go to check out and you have the option of checking out or continue shopping. If you select...
Is there a way to automatically size a popup window based on the the size of the table? I am querying the table dimesions using PHP and MySQL and I would like to insert the two variables $alt_height and $alt_width into the javascript code below by putting those two variables in place the pixel...
I was wondering if anybody would be able to help me on this? Is there a way that you can take information from a pop up window(ie. A Hyperlink) and have it poulate a field in a form on the page where the pop up window came from. I hope that makes sense.
Hi,
I'm trying to get an alert box to come up when the page is loaded. below is the code I am using.
<body onload="javascript:window.alert('This is a Test')">
Is this correct? if not, can somebody tell what I did wrong?
Milams
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.