|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How can I access an MSTextbox via Javascript?I was unable to get this to work with MS Web Textbox only html. In other
words the javascript says the object doesn't exist when I try to reference the Textbox1: document.all["Text1"].setAttribute("value", oCell.getValue()); Not sure this is the best way as I'm new to this domain, but I tested this
successfully: textbox = document.getElementById('TextBox1'); textbox.setAttribute("value", "testing"); Show quoteHide quote "aaa" wrote: > I was unable to get this to work with MS Web Textbox only html. In other > words the javascript says the object doesn't exist when I try to reference > the Textbox1: > > document.all["Text1"].setAttribute("value", oCell.getValue()); > > > that doesn't work.
Show quoteHide quote "mkn" <m**@discussions.microsoft.com> wrote in message news:81A3CA43-FDC4-49B7-A784-2E7AF2D2E32C@microsoft.com... > Not sure this is the best way as I'm new to this domain, but I tested this > successfully: > > textbox = document.getElementById('TextBox1'); > textbox.setAttribute("value", "testing"); > > "aaa" wrote: > > > I was unable to get this to work with MS Web Textbox only html. In other > > words the javascript says the object doesn't exist when I try to reference > > the Textbox1: > > > > document.all["Text1"].setAttribute("value", oCell.getValue()); > > > > > >
Get Value of a control from my Own Control
) expected erro when trying to create a popup Disable ButtonColumn button control through code Problem programmatically creating tabstrip webcontrol asp:button Text= Binding to listbox / using data access object Looking for sorted list webcontrol dynamic control event not firing Viewstate the process cannot access the file because it is being used by another process |
|||||||||||||||||||||||