Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > anyone good with javascript!

Reply
Thread Tools

anyone good with javascript!

 
 
Paul
Guest
Posts: n/a
 
      06-23-2008
Hi I have a webpage that is for data input and has a large number of controls
on it. In the middle of the page there are 2 dropdown boxes main,and sub.
when the page first loads only a is visible. If a user selects an item from
the main dropdown I reload the page and make the second dropdown visible with
sub items from the selection in the main dropdown. When this happens the
user must scroll down to the middle of the page and I was wondering if there
is a way to give focus on the second dropdown, not every time the page loads
but only when a selection is made in the main dropdown.
Thanks.
--
Paul G
Software engineer.
 
Reply With Quote
 
 
 
 
Paul
Guest
Posts: n/a
 
      06-24-2008
thanks, it worked, did not think it would be that easy!
--
Paul G
Software engineer.


"Mark Rae [MVP]" wrote:

> "Paul" <> wrote in message
> news:46974E8D-3181-43A4-894D-...
>
> > Hi I have a webpage that is for data input and has a large number of
> > controls
> > on it. In the middle of the page there are 2 dropdown boxes main,and sub.
> > when the page first loads only a is visible. If a user selects an item
> > from
> > the main dropdown I reload the page and make the second dropdown visible
> > with
> > sub items from the selection in the main dropdown. When this happens the
> > user must scroll down to the middle of the page and I was wondering if
> > there
> > is a way to give focus on the second dropdown, not every time the page
> > loads
> > but only when a selection is made in the main dropdown.

>
> // at the end of the code-behind event
> MySecondDropDownList.Focus();
>
>
> --
> Mark Rae
> ASP.NET MVP
> http://www.markrae.net
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone Carry Gear on Lufthansa Air? Bill? Roger? Anyone? :) MarkČ Digital Photography 34 05-20-2006 11:16 AM
Anyone who posts for Help in Here needs Intellix - Anyone providing Help Applicable Also Ditto21 Computer Support 8 02-18-2006 04:27 AM
Anyone?? Anyone at all?? JDS HTML 2 09-29-2005 07:10 PM
Anyone know anyone in Toronto Canada that will write your Mcsa Exams MonkeyMunx Microsoft Certification 17 01-05-2004 03:37 PM
Anyone? Anyone? Steve Williams Python 0 09-16-2003 03:26 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57