Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get Value From JavaScript
#1
Howdy All!

Is there an easy way to get a value from a control via javascript? That is, I want to do something like:

bool bChecked =  ExecuteJavaScript("document.getElementById("myCheck").checked;");


Thanks in advance,

Shane
Reply
#2
if bChecked is client side (I see = not :=) then why not just call the .getElement etc directly?

For 17 check this out:
https://doc.atozed.com/en/iw17/lang/delp...roperties/
Reply
#3
Howdy Chad!

It is on the SERVER side (remember I program in c++)!

The link looks very promising for IW 17!

Well, I need to finish a fix for the latest DevExpress component update and then I need to search for a new jQuery CheckBox / RadioButton component(s) I can wrap to replace the default IWBS4 as they aren't working and I don't have time to figure out where in the zillion overrides they get called / updated properly.

Thanks and have a nice weekend!

Shane
Reply
#4
I asked Alexandre to chime in. There are ways in 14/15 as well but he is better positioned to suggest the best approach in those.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)