Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

i have a web page which contains several textboxes

my final textbox is to enter a date, near that textbox there is a button, on onclick event of this button small calendar will appear and when the user selects a date from the calendar, the calendar will disapear and selected date is written in the textbox

 

my problem is when i click on calendar the page jump to the top of the page, i do not want to happen this

 

i read abt this on the web, all i found was to use something like "focus" to the textbox

 

but there's no such a property like that in textboxes

does anybody have an idea ?

i'm using .net and C# to develop my web application

 

thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...