News:

Support the VirtueMart project and become a member

Main Menu

VM Plugin price per letter

Started by Valdez360, October 15, 2013, 19:02:09 PM

Previous topic - Next topic

Valdez360

I have a custom plugin field in the product details page where we are using a custom plugin field to accept a series of letters where every letter adds x amount to the price. It works great (see screenshot).

However, when I try to fill the field programmatically using jQuery it also works well, but it does not trigger a change event to update the price. I have tried everything that I can find in the jQuery arsenal to update the price, but I  can't get it to refresh.

I have tried .keyup(), Keydown(), on the field .keypress(), .change();

Has anyone any ideas?

[attachment cleanup by admin]