?
Solved

imacros javascript action

Posted on 2010-08-25
1
Medium Priority
?
1,172 Views
Last Modified: 2013-12-07
Hello,

I recently found imacros for firefox and I'm amazed at what it can do but I'm having a difficult time getting it to run a javascript action. I've included the whole TD it is in. Please note that 10's of these tds exist on the page and may not be in the same order every time. Ultimately I'm looking to be able to add a specific product to cart based on the ID.

Thanks,
<td class="itemPricesDetails" valign=bottom id="154474_AddToCardTD">
	        <input type=hidden name=154474_Qty id=154474_Qty value=1><input type=hidden name=154474_QtyReplace id=154474_QtyReplace value=0>&nbsp;
                <a title="Click here to add this product to your cart." href="javascript:AddToCartReplaceMaster(154474);"><span class="AddToCart AddToCartButton"><span class="add2CartText">Add to Cart</span></span></a>
	        
	    </td>

Open in new window

0
Comment
Question by:tdillon80
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 6

Accepted Solution

by:
anushahanna earned 1000 total points
ID: 33567452
0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question