Solved

imacros javascript action

Posted on 2010-08-25
1
1,136 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
1 Comment
 
LVL 6

Accepted Solution

by:
anushahanna earned 250 total points
ID: 33567452
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
The viewer will learn how to count occurrences of each item in an array.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

914 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now