In the onfocus event just pass the name of the text box that you want to display the message in as a parameter to your method.
Example:
function displayMessage(ctlTextBox, strMessage)
{
document.forms[0].getElementById(ctlTextBox).value = strMessage)
}
<select id="MySelect"...
I have an application that opens a Excel Workbook and updates several cells. Sometime the Workbook will be Password Protected and sometimes it will not. I have searched all over the Internet to find a way to test to see if the Workbook is protected before opening it. This way I can prompt for...
Use single quotes in place of the double quotes except to specify the strings. Using a double quote as escape character just confuses the code.
example
cellstart & "<input type='checkbox' name='op' " &
http://www.chiefscoalition.com
You are not closing the <a href> tag.
<a href="letters/letter_accepted.asp?CourseID=<%=(Course_accepted.Fields.Item("CourseID").Value)%> &PersonID=<%=(Course_accepted.Fields.Item("PersonID").Value)%>
You never have the final > for the tag. %> only closes the script but does not close the <a...
Yea but if it was easy everyone would do it and we would be paid the same as the Fry Guy at McDonalds.
You welcome however for what my comments were worth.
http://www.chiefscoalition.com
What do you mean availability of these system. Do you mean the availability of the pages, the web-server, or something else?
http://www.chiefscoalition.com
I don't believe so. From what I remember javascript follows an hierarchy tree when events are fired by a page. And will only fire to the event at the lowest point in the tree.
If I am wrong maybe someone else can give you a hand. I believe however that you are going to need to put the other...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.