Link to home
Start Free TrialLog in
Avatar of critto
crittoFlag for United Kingdom of Great Britain and Northern Ireland

asked on

JQuery Internet explorer not working..

Hi Experts,

I have a spark/asp.net mvc 1/Jquery site and my jquery widgets are working in all browsers but IE. I am using IE 8 and it is missing all the text box drag dialogs, buttons not running all scripts etc.

Here are some snippets of what is working and what is not working:

H
ere is an example of a method not working:

<input type="button" value="Nu" onclick="SetDateTimeNow();"/>
<input id="RecordDate" name="RecordDate" type="text" />
<input id="RecordTime" name="RecordTime" type="text" value="" />
.....
    function SetDateTimeNow() {
        $("input#RecordTime").attr("Value", GetCurrentTime());
        $("input#RecordDate").attr("Value", GetCurrentDate());
    }

    function GetCurrentDate() {
        var currentDate = null;
        currentDate = "30/03/2010";
        return currentDate;
    }
 
    function GetCurrentTime() {
        var currentTime = null;
        currentTime = "11:04";
        return currentTime;
    }
 


here is an example of a method that is working;

<input type="button" value="Clear" onclick="ClearInputFields();"/>
.....


function ClearInputFields() {
        $("input#RecordTime").attr("Value", "");
        $("input#RecordDate").attr("Value", "");
        ....
    }

Open in new window

Avatar of critto
critto
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

In addition... the method is firing through in IE developer window, it's just not assigning the text value to the input box which is what i need to happen on a click. the clear function clears the value though.
ASKER CERTIFIED SOLUTION
Avatar of critto
critto
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial