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

crittoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

crittoAuthor Commented:
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.
0
crittoAuthor Commented:
Never mind.... I found the problem:

$("input#RecordTime").val(GetCurrentTime());


I found it here:

http://stackoverflow.com/questions/295095/how-do-i-set-a-textboxs-value-using-an-anchor-with-jquery
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.