The blog

jsEnhance – an Axure library to “fix” code injection

Hello fellow Axure geeks,
in the last months I started playing with jQuery to try to solve a some of Axure’s shortcomings. One of the things that bugged me the most was that there is no easy way to change the generated html code of your prototypes.
To address this I created a small library to allow you to add CSS, JS and HTML to your prototype:

Read more..

4 thoughts on “jsEnhance – an Axure library to “fix” code injection

  1. skl / Reply 15. July 2013 at 23:25

    Thank you for this library!
    It helps very much: you can avoid nasty things with JS enabled.
    When panel is managed by its label – updating is very easy: you can delete old panel, paste new one and only thing to care about is label name. It’s a life-saver if you need to update several identical complex elements.
    I use the following code to get an id of the first element with appropriate label:
    function getElemId (elLabel) {
    return document.querySelector('[data-label="'+elLabel+'"]').id;

    Btw, do you plan to develop the lib further? To support IE ?

  2. Lennart / Reply 21. July 2013 at 20:17

    sorry for the late reply. Thanks for the function. I use something similar. I didn’t mention it in the post…
    Well, I am not really a JS expert, I created this lib to scratch an itch I had. I looked briefly at the IE problem, googled a bit and stopped after a while. I haven’t really tried to find a work around…

    Any would be highly appreciated though 🙂

  3. Tom / Reply 20. September 2013 at 08:43

    This is a great way of using some simple js calls.
    But the link is dead 🙁

    Can you please fix the link? or send me the lib?

    • Lennart / Reply 20. September 2013 at 21:48

      Hey Tom,
      thanks for pointing this out. I uploaded the .rplib file again.
      I still have to search (and find) the examples file. I cleaned up my axshare folders recently…


Leave a Reply

Your email address will not be published. Required fields are marked *