1. document.formname.elementname.focus();
Example: if my form has a name of testform and the first element is
fname...
then in the body tag i would do this...
2. Yeah, you need to use the select() method...
so document.testform.element.select();
Example:
That should work...or it might have
> When I have an input form I must click on the first input field. Is
there
> anyway to have it active when the form loads?
Javascript, not PHP. Something like document.form.element.setfocus(), I
think.
> #2 When I tab down to the next input field, is there anyway to have it
> highlight what is
?>
- Original Message -
From: "Steve Cayford" <[EMAIL PROTECTED]>
To: "Jeff Grossman" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, September 05, 2001 11:36 PM
Subject: Re: [PHP-DB] Forms Question
>
> On Wednesday, September 5, 20
The solution is easier than you think. You'll need to insert an if
statement in your option html tag that says
echo "Signal Hill\n";
should become:
echo "Signal Hill\n";
Jeff Grossman wrote:
>Hello,
>Here is the code I have:
>
>while ($row=mysql_fetch_array($result)) {
> $store=$row["store
On Wednesday, September 5, 2001, at 04:50 PM, Jeff Grossman wrote:
> Hello,
> Here is the code I have:
>
> while ($row=mysql_fetch_array($result)) {
>$store=$row["store"];
>$jobdesc=$row["jobdesc"];
> echo "";
> echo "Store:
>
> Signal Hill
> Reseda
> O
> Hello,
> Here is the code I have:
sure, your query is something like:
select ..., store, jobdesc .. FROM ..
why using:
>$store=$row["store"];
>$jobdesc=$row["jobdesc"];
echo"dhdhdh".$row["store"]."blabla" would also work
i should use:
while (LIST($store,$jobdesc)=mysql_fetch_