Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Removing "+" from Drop-down Menu › Reply To: Removing "+" from Drop-down Menu
Now that you are changing how the data is parsed you will have to rewrite the javascript logic a little bit. This is not just a matter of removing a character from some code. with that said, I think the following code should do it:
function CheckTok (object1)
{
var j,tok,ary=new Array ();
ary = val.split (” “);
val_1st_half = ary[0];
val = ary[1]; // get data
amt = amt + val*1.0;
}
Please note that I haven’t tested this so there is no guarantee that this will work. It’s impossible for me to provide custom solutions to all of my customers. Also, don’t forget to take out the “+” character from the PHP file so it doesn’t add it there.