Solved

imacros javascript action

Posted on 2010-08-25
1
1,154 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 250 total points
ID: 33567452
0

Featured Post

Increase your protection from Zero Day threats!

Running two Antivirus' is never a good idea.
Taking advantage of Multiple Security layers on the other hand can often save your hide.
See which top notch security software brands have been proven to happily coexist together.
Reduce your chances of becoming a statistic.

Question has a verified solution.

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

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

739 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