I'm pulling my hair out because I can't get a friggin alert to pop up when I click a link. I've been working with JQuery, so that may have something to do with it.
There are multiple external .js files that my primary .php file references. What determines if one .js file takes presedence over another? How do I directly reference a specific bit of .js code for an individual html element? I'm not sure why this crap isn't working.
07-17-2013, 07:09 PM
Post the html file in whole if you can. There can be many reasons why an alert function is not working for you.
07-19-2013, 06:31 PM
I agree with Jptalon – we do not own functional crystal balls, so without code we are unable to help.
Well-written scripts will work in a local scope and only expose very few, maybe just one or even none external references. If they do, they usually use a certain namespace. For example, the well-known jQuery library will only expose the jQuery object and the '$' shorthand notation synonym for it. Well-written plugins in return will only attach themselves in a subnamespace of jQuery's namespace.
But, as stated before, to actually help you with your problem, seeing code is essential.