Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am using jquery slider in my project but that code works on both firefox and chrome but not working in ie

HTML code
HTML
<a href="javascript:void(0);" class="PreviousSlide"  id="PreviousButton1"></a>


jquery:
C#
$(".NextSlide").click(function(e) {
       if (e.detail == 1) {
         
         here jqery code     
       }
       else {
           return false;
       }

   });
Posted
Updated 22-Jul-12 19:40pm
v2

IF you use a component you did not write, then you need to read the docs for that component to find out what it's browser compatibility issues are. You don't even say where the component came from, so we really have no idea how to help.
 
Share this answer
 
Comments
saravana__ 23-Jul-12 1:59am    
what is component?
saravana__ 23-Jul-12 1:59am    
i don't know about this?
saravana__ 23-Jul-12 2:00am    
if i click the previous button $(".NextSlide").click(function(e) is not working in internet explorer but the same code works on other browsers
Christian Graus 23-Jul-12 2:02am    
How did you create this if you have no clue what you're doing ? There is NO slider built in, so you're including some sort of jquery library. You need to tell us what it is, if you can't read the docs for yourself. Also, what does 'not working' mean ? Any error message ? If you want help, you need to tell us these things.
saravana__ 23-Jul-12 2:23am    
if i click next slide hyper link there is no response in ie browser
just remove the if condition my codes are works in IE but i don't how its work...If anyone know pls tell me ....how its work?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900