Java Script in HTML fields

Currently, we have the option to attach a Servoy method to a <a href …> combi in a HTML area.

I would like to take it a step further. As far as I know it’s not possible to dynamically create new elements in Servoy. In an HTML area, I CAN do this. So, I could dynamically create inputforms…

The only problem I have now is that I cannot feedback the value’s from the input fields in the HTML area back to Servoy. To be able to do this, Java Scripting in the HTML area should work.

Therefor, is it possible to enable Java Scripting in HTML area’s?

Paul

I can’t give you a straight answer but I guess if the sun implementation of html in java makes this possible it is also possible within Servoy.

BTW what is it you are trying to do?

Yep, I’m trying to use Java Script in the HTML markup, but it doesn’t work…

For example the code below in an HTML field:

Select your favorite browser:

Your favorite browser is:

What I would like is the opertunity to feed back the value of the fields (in this example field “dropdown”.

Paul

Hi guys,

I’ve wanted to do the same type of thing. BUT - you have to remember that this isn’t a browser. :D

I think it might be possible if you had a javabean browser… but I’ve never tried it myself.

Bob Cusick

Even if a JavaBean browser would allow for JavaScripting, how would you feed back the variables?

as far I understand it, now you can only feedback using <a href …>…

Paul