This topic is locked

Inline Edit OnChange of value

1/8/2009 7:48:53 AM
ASPRunnerPro General questions
R
rascasse83 author

I have the following script which works fine on the Edit page but not when in Inline Editing mode.
It's trying to trigger a function on change of value in the inline edit screen (where multiple rows can be edited in one go).

It seems to fail when trying to get the value from the field.
The function here should only be triggered if value is equal to '44' but the javascript doesn't even get there because it's returning

the error
<script>

function clickedhref()

{

Function does something

}
[color=#FF0000]document.getElementById("ResultOptionID").onchange=function()

{

if(this.options[this.selectedIndex].value=='44')Â Â Â Â

clickedhref();

}

</SCRIPT>
Anyone tried to do something in the inline editing mode with onChange javascript event ?

J
Jane 1/9/2009

Hi,
unfortunately this code won't work for Inline Edit.

R
rascasse83 author 1/12/2009

Makes sense now after everything i tried.
Have you ever managed to trigger a function in inline edit on change of value?
This wouldbe very usefull to know as it would allow a pop-up to be opened on change of data.
Help will be very appreciated.
Thanks

J
Jane 1/13/2009

Hi,
unfortunately there is no easy way to check entered values on the fly for Inline Edit.

We plan to add this feature in one of the next versions.

R
rascasse83 author 1/14/2009

Ok i understand. We will park our issue as an ASPRunnerPro improvment to come.