[jQuery] Check if remote file exists.

2008-11-05 Thread Genu
Is it possible to use jquery to check of remote file (url) exists or not. For example, I have this url: http://www.myserver.com/media/test.mp3 can I use a jquery http request to see if the url is valid or not?

[jQuery] Re: Can Jquery fetch file, and display download dialog?

2008-11-05 Thread Genu
Hey, thanks for the reply. I tried the above function, and now the link just doesn't do anything when I click on it. I don't understand where you got '.dialogBox' from, however.

[jQuery] Can Jquery fetch file, and display download dialog?

2008-11-04 Thread Genu
Ok here is my problem: I have a link: http://www.myserver.com/01-01-08-PM.mp3"; class="download" id="7">Download I wrote this js: var $j = jQuery.noConflict(); $j(document).ready(function() { $j('.download').click(function() { var link = $j(this).attr('href');

[jQuery] Can Jquery fetch file, and display download dialog?

2008-11-04 Thread Genu
Ok here is my problem. I generate this link with PHP: http://www.myServer.com/2008/01-01-08- PM.mp3">Download then I have this js: var $j = jQuery.noConflict(); $j(document).ready(function() { $j('.download').click(function() { var link = $j(this).attr('href');

[jQuery] Can Jquery fetch file, and display download dialog?

2008-11-04 Thread Genu
Ok here is my problem. I generate this link with PHP: http://www.myServer.com/2008/01-01-08- PM.mp3">Download then I have this js: var $j = jQuery.noConflict(); $j(document).ready(function() { $j('.download').click(function() { var link = $j(this).attr('href');