Ajax working on IE and Safari but no working in FF, Chrome and Opera.

I am trying to get the data for Modal from a html page via jQuery Ajax, it is working in Safari and even in IE 6 but it is not working in Firefox, Chrome or Opera. Please advice!

My code is here.


I see some unusual use of selectors here:

in your code...

$close = $('<a id="close" href="#">close</a>');

You've added the click event as:

        $close.click(function(e) {

I truly believe that's not gonna work anyway... the correct option to bind an event would involve a proper jQuery selector like :

        $('#close').click(function(e) {

or the variable $close should refer to such a selector like $close = $('#close');

Need Your Help

Mysql for update

mysql transactions sql-update

MySQL supports "for update" keyword. Here is how I tested that it is working as expected. I opened 2 browser tabs and executed the following commands in one window.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.