wp_enqueue_style('wp-pointer') Conflict With jQuery UI Button
-
These lines which I’m not using in my own plugin…
wp_enqueue_style('wp-pointer'); wp_enqueue_script('wp-pointer');
conflict with this code below which creates a simple jQuery UI button and it is causing a lot of users problems. Fixing it will make plenty people happy so I’m under pressure in the email inbox, as always…
function csv2post_jquery_button(){?> <script> $(function() { $( "button, input:submit, a", ".jquerybuttoncsv2post" ).button(); $( "a", ".jquerybuttoncsv2post" ).click(function() { return false; }); }); </script><?php } function csv2post_formend_standard($buttontitle = 'Submit',$buttonid = 'notrequired'){ if($buttonid == 'notrequired'){ $buttonid = 'csv2post_notrequired'; }else{ $buttonid = $buttonid.'_formbutton'; }?> <br /> <div class="jquerybuttoncsv2post"> <button id="<?php echo $buttonid;?>"><?php echo $buttontitle;?></button> </div> </form><?php }
Does anyone have any ideas why this might be happening?
Any plugin installed along side my own that uses the wp-pointer script causes my plugins interface to break down totally. jQuery Tabs, dialog and buttons all fail.
Thank you for any insight and suggestions.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘wp_enqueue_style('wp-pointer') Conflict With jQuery UI Button’ is closed to new replies.