On Fri, May 4, 2007 1:02 pm, Dan Shirah wrote:
> type = document.Submit.request_type.value
If you have only one "request_type" button, JavaScript can sorta
figure out which one you want here, cuz there's only one.
As soon as you have a whole bunch of them, it's got no idea which one
you want...
No problem. I just prefer to use extract() for areas that are only
pulling out a single set of data, or several sets with different variable
names within the array. Less typing, no reassignments necessary. Personal
preference, that's all.
On 5/4/07, Dan Shirah <[EMAIL PROTECTED]> wrote:
T
Thank you Daniel!!
I didn't do it exactly as you suggested, but you put me in exactly the right
direction! THANK YOU!
Below is how I have it working if anyone else is interested.
The javascript
function showAlert(id,type) {
alert( 'The type is:' + type + 'The ID is:' + id );
}
Th
I know you said it's a form but where does the browser realize that?
Using a hidden value such as that would require a POST or GET action via
a form. JavaScript wouldn't work for that. However, you could do something
like this:
function showAlert(id,type) {
alert('The type i
Yes, my apologies. I call the script by scriptname.php?MasterPage=1 or
2 or whatever...
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Monday, March 17, 2003 4:45 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Loop Problem
[EMAIL PROTECTED
[EMAIL PROTECTED] wrote:
Ok, here's what I got. I'm trying to create an entire site that grabs
all it's information (Page content, titles, link info, etc.) from a
MySQL database. In this site I would like to have sub pages of master
pages. For instance, Page 1 is a master page, Page 2 is a
6 matches
Mail list logo