Link to home
Start Free TrialLog in
Avatar of ToString1
ToString1

asked on

jquery show hide not working in IE or chrome

The following code works fine in Firefox but not in IE or Chrome.  Any ideas why?

I am referencing http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js

<script type="text/javascript">
    $(document).ready(function() {
        $('#textbox').hide();
        // shows the slickbox on clicking the noted link
        $('#go').click(function() {
            var Length = $("#name").val().length;
            if (Length > 0) {
                $('#textbox').show('fast');
                $("#secondTextbox").val('');
                return false;
            }
        });
    });

</script>
ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe 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
Avatar of ToString1
ToString1

ASKER

Thanks I have tried that but it still does not work in IE or chrome.   FInd in firefox
SOLUTION
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
Sorry but I would be able to post the page source.
SOLUTION
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
ok thanks - could you give an example please?
SOLUTION
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