Preselected Item not refreshing in Cart summary
I'm preselecting a list item when the page loads, even if it appears selected, the cart is not refreshing.
I have a <Select> list and I select the item 1 when it loads
$(this).selectedIndex = 1;
None of them seems to update the cart
If there's no option to "refresh" or "notify" the page that the item has changed I have been looking to reach something like the next image.
As you can see "Web: 0.00" seems to be focused (it is not), is there any function in "select" elements to accomplish this?
NOTE: The item is selected successfully but the cart widget(which is in the same page) doesnt seem to know it has already changed
From your description is sounds like the second list is supposed to update when an item in the first list is selected. Also, it sounds like you are able to select an item in the first list. If so, then your "onchange" event might not be defined yet.
The item I need to select is actually selecting but it is no refreshing on the cart widget, as if the webpage doesnt know there has been already a change.
You may see the attached events with
1. Firefox Dev Tools (not Firebug): beside the select should be a [EV] icon which lists all attached events and who watches them, if you click on that icon.
2. Chrome Dev Tools: select an element and switch to the "event listeners" tab