jQuery + SmugMug Merchandise Price Set


/ Published in: ActionScript 3
Save to your folder(s)

Get the FireQuery (http://firequery.binaryage.com/) extension for firefox and then use this snippet to auto set prices for the merchandise tab.


Copy this code and paste it in your HTML
  1. jQuery("#merch .proprice").val(function(index,value){
  2. price = jQuery(this).parents(".row").children(".col1").html();
  3. price=parseFloat(price.substring(1));
  4. price+=3.00
  5. return price;
  6. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.