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>
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sorry but I would be able to post the page source.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ok thanks - could you give an example please?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER