This topic is locked
[SOLVED]

 Java Script Compatibility Issue

11/3/2010 10:46:47 AM
ASPRunnerPro General questions
J
Jay123 author

Hi!
I am using ASP Runner 6.1.
I was doing some tests in IE 7 and 8 and it seems like the Javascript code that I have added is not being recognized in these browsers.
The code that I have was:

<script>

document.getElementById("display_value_Field1").width=700;

</script>
where Field1 is a lookup (Edit box with AJAX popup).
It works great in IE 6, though.
Is there a work around to make it work in IE 7 and above?
Thanks,

Jay

Sergey Kornilov admin 11/3/2010

It's unlikely Microsoft removed some functionality in later versions of Internet Explorer. There might be something else that causes the trouble.
I would suggest to post this application to demo account and to send the URL to support team for investigation.

J
Jay123 author 11/9/2010

Hi Sergey,
I have posted it to demo account but I'm not sure if it went through or not.
If it didn't, is there other way to get it posted or your support team can do an investigation?
I just did another test with all the updates needed by IE 8 but the result remain the same.
Thanks,

Jay

Sergey Kornilov admin 11/9/2010

Jay,
I don't know either. Once it's posted it will open your application on Demo Account in the browser. You need to send that URL to our support team along with instructions on reproducing the issue.

J
Jay123 author 11/9/2010

Hi Sergey,
Don't worry about it. I just finished another testing and I was able to make it work. I used "size" instead of "width" and did some number conversions to adjust the width of the textboxes and it worked.
The code that I used was:

<script>

document.getElementById("display_value_Field1").size=121;

</script>
insted of
<script>

document.getElementById("display_value_Field1").width=700;

</script>
Thanks,

Jay