Hi,
I would like to set the FCKEditor to be focused automatically when the user enters the page. How do I do this?
To set TextBoxA to focus, I use a script like this :
I would like to set the FCKEditor to be focused automatically when the user enters the page. How do I do this?
To set TextBoxA to focus, I use a script like this :
protected void Page_Load(object sender, EventArgs e) { String focusScript = "<script language='javascript'>document.getElementById('" + TextBoxA .ClientID + "').focus();</script>"; Page.RegisterStartupScript("focusOnTextbox", focusScript); //do other stuff if (!Page.IsPostBack) { /* the other stuff here*/ } }