Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 315
  • Last Modified:

How to locate the variable being passed in this js file.

I got this script to work with a coupon page, where the user click on a image of a coupon code, and it is copied to their clipboard.

Can anyone show be what line the coupon code is passed to the js? I need to modify it so I can have multiple coupon codes on one page.

In other words I need to find where the variable to be copied is being passed into this script.

billsprice.com/js/jquery.zclip.js
0
blink10
Asked:
blink10
  • 2
  • 2
  • 2
1 Solution
 
RobOwner (Aidellio)Commented:
line 146: clip.addEventListener('complete', function (client, text) {

the text variable
0
 
blink10Author Commented:
why do u suggest against images?
0
 
Michel PlungjanIT ExpertCommented:
Sorry. Posted in the wrong question. You were too quick before I deleted it
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
RobOwner (Aidellio)Commented:
Is there a related question to this one?
0
 
Michel PlungjanIT ExpertCommented:
No completely unrelated Q I had open in another window
0
 
blink10Author Commented:
i ended up using jquery to do what i need, thanks for the help though
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now