Get Value From JavaScript

<< Click to Display Table of Contents >>

Navigation:  Forum >

Get Value From JavaScript

Forum link

 


 

05-30-2019, 05:11 PM:

 

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

 


 

05-31-2019, 03:02 PM:

 

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/

 


 

05-31-2019, 05:50 PM:

 

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

 


 

06-01-2019, 04:45 PM:

 

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.