• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What happen to this Tabbed form ?

 
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
good day everyone ...the following code is about tabbed form using fieldset, i still facing the problem on focus on other fieldset , let say i want to make this page to focus the second fieldset "product query" , how to i do that ?

for your information, i using struts framework to fire formaction



thank you very much for helping !

[ November 27, 2004: Message edited by: Alvin chew ]

[ November 29, 2004: Message edited by: Alvin chew ]
[ December 01, 2004: Message edited by: Alvin chew ]
 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have try using <A href="#TESTLINK"></A>, but is not successful


[ November 30, 2004: Message edited by: Alvin chew ]
 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i also try "document.productquery.pro_query_code.focus();" , and it prompt me the error "document.productquery.pro_query_code is not object or null
"

can someone please try help here ..really need to solve it urgently ..thanks for your time
 
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
there is one thing I am actually missing:
At what point are you trying to set that focus? I mean, I tryed opened the code you provided in IE6, used scriplet

and it worked fine. After I hit "New Product" the same scriplet gives me an error, which is fine since that form is hidden. You may see the error you getting, if you trying to set the focus before the page fully loaded.

One more thing, not sure it is related, but your fieldset tags with id's dv1 and dv2 have an inner form. But when you have closing tags, you actually close the fieldset first and than the form, which does not look right.
Also you have only closing tag pre that is not really needed there.
 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i put under the <script></script>


[ December 01, 2004: Message edited by: Alvin chew ]
[ December 01, 2004: Message edited by: Alvin chew ]
 
Yuriy Fuksenko
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
put it either as onload event handler, or you can try to put it at the bottom of the page, right before closing BODY tag
 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks , Yuriy Fuksenko , finally get it ...
 
reply
    Bookmark Topic Watch Topic
  • New Topic