Note that there are some explanatory texts on larger screens.

plurals
  1. POjQuery working in everything but IE7. (checked my commas)
    primarykey
    data
    text
    <p>The following code works in IE8, FF, Safari, Chrome etc. (not bothering with IE6 for this one), but doesn't work in IE7. I've been through the code with a fine tooth-comb. Checked the commas, messed around with <code>;</code> but it's not going anywhere. I'm using the jQuery Validate and Uploadify scripts.</p> <p>Can anyone see the problem here? Thanks. </p> <pre><code> &lt;script type="text/javascript"&gt; jQuery(document).ready(function($) { $("#validateform").validate({ errorClass: 'invalid', rules: { bike_url: { required: true, url: true } } }) $("#uploadify").uploadify({ 'uploader' : '&lt;?php echo $url . '/wp-content/plugins/biketest/includes/uploadify/uploadify.swf'; ?&gt;', 'script' : '&lt;?php echo $url . '/wp-content/plugins/biketest/class/class.uploadify.php'; ?&gt;', 'folder' : '&lt;?php echo $url . '/wp-content/plugins/biketest/uploads'; ?&gt;', 'cancelImg' : '&lt;?php echo $url . '/wp-content/plugins/biketest/includes/uploadify/cancel.png'; ?&gt;', 'auto' : true, 'fileDesc' : '.jpg or .png files only please.', 'fileExt' : '*.jpg;*.jpeg;*.png;', 'sizeLimit' : '2097152', 'buttonText': 'Choose Image', 'scriptData': { 'random': '&lt;?php $rand = rand(0, 999999); echo $rand ?&gt;' }, 'onComplete': function(event, queueID, fileObj, response, data) { var image = '&lt;?php echo $rand; ?&gt;-' + ((fileObj.name).toLowerCase()).replace(' ', ''); setTimeout(function(){ $(".uploaded").attr('src', '&lt;?php echo $url; ?&gt;/wp-content/plugins/biketest/uploads/s-' + image); }, 500); $("[name=bike_img]").val(image); } }) }); &lt;/script&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload