Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Reply To: Removing "+" from Drop-down Menu

by

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

December 18, 2009 at 4:40 pm #16780
bhadaway
Member

Again, not a JavaScript guy and there are too many variables running through my head right now to take a risk assuming what I should do, so if you could please refer to the exact code I have here:

function CheckTok (object1)

{

var j,tok,ary=new Array (); // where we parse

ary = val.split (” “); // break apart

val_1st_half = ary[0];

for (j=0; j<ary.length; j++)

{

// look at all items

// first we do single character tokens…

if (ary[j].length < 2) continue;

tok = ary[j].substring (0,1); // first character

val = ary[j].substring (2); // get data

if (tok == “+”)

{

//alert(val);

amt = amt + val*1.0;

}

if (tok == “-“)

{

amt = amt – val*1.0;

}

}

}

And please provide the new code to replace this for my solution…

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ