Forum Moderators: phranque

Message Too Old, No Replies

JS Help

         

dmarkwa

2:52 pm on Jul 16, 2003 (gmt 0)



I hope this is the right place to post this.

I saw your script while searching javascript.internet.com.

What I was looking for is a way to return to an input field and place focus on it after I show an alert and play a sound. This is for an order entry thing we are trying to develop for our company.

I have tried

Alert("Too Many Parts Scanned")
document.formname.fieldname.value = "";
document.formname.fieldname.focus();

but it doesn't seem to work.

Can you help me?

Thanks

Mark Weiss

waldemar

3:20 pm on Jul 16, 2003 (gmt 0)

10+ Year Member



try "alert" instead of "Alert".
Also it's good habbit to end each command with ;

waldemar

3:21 pm on Jul 16, 2003 (gmt 0)

10+ Year Member



Oops, and of course.... Welcome To Webmaster World :-)