SmartNavigation

  • Thread starter Thread starter Jay
  • Start date Start date
J

Jay

I use SmartNavigation a lot and it makes the web UI very nice for some
situation.

I have trouble in using SmartNavigation and setting the focus to a textbox
using the code below. Has anyone found a way to make SmartNavigation work
with setting the focus.

Jay

<script type="text/javascript">
var x = document.getElementById ("txtAccomplishment");
if (x != null) {x.focus();}
</script>
 
when you use smart nav, the postback is done in a hidden iframe. this means
if you output javascript on postback and smartnav, is on you need to set the
focus in the parent frame not the current.

-- bruce (sqlwork.com)
 
Back
Top