Check if Yahoo Messenger is installed
Is there any way to find out if a user has Yahoo Messenger installed, using javascript? I'm trying to better handle ymsgr: links, as IE throws a cryptic error if YM is not installed. ...
Is there any way to find out if a user has Yahoo Messenger installed, using javascript? I'm trying to better handle ymsgr: links, as IE throws a cryptic error if YM is not installed. ...
I have a JSON object with a key element called callback. { "id":34, "description":"", "item_id":4, "callback":"addNew", "filename":"0000072.doc", "type":"News", "ext":"doc", "size":46592 } I would like to call the javascript "addNew" function. I tried. json.callback(json); But does not work. Any idea? ...
This is a follow up question to this answer: http://stackoverflow.com/questions/948610/how-do-i-parse-xml-from-php-that-was-sent-to-the-server-as-text-xml JavaScript/jQuery: var xmlDoc = jQuery.createXMLDocument( "<items></items>" ); jQuery( "items", xmlDoc ).append( jQuery( "<item>My item!</item>" ) ); jQuery.ajax({ url: "test.ph...
Hi, i've built this sample code based on a real problem I have in an application. I've got a custom sort procedure to sort jQuery arrays. A container contains a list of items with special attributes. For sorting: Loads all items in temp array Clears the container Sorts the temp array into a new array Append sorted items to containe...
I'm trying to dynamically create and remove items from a list, it works just fine... sort of, I can remove items, and create items, but once an item has been created, I cannot remove it again, but I can remove the items present when the page loads. Here is my code <div class="list"> <div class="item"> <input type="text" val...
I am seeking a way to enumerate all Drivers in the local Driverstore of the workstation and retrieve the "friendly name" that is the Name that the User sees in for instance the add printer dialog. Specifically i would also like to list only a specific class of devices like Printer. If possible vbscript or jscript via Windows Scripting H...
Hello, Is it possible, something similar to @import in css. Is it possible to include a javascript file inside a javascript file? Thank you for your time. ...
I have a textbox and it need the user not allow to enter any specialcharecters He can enter A-Z a-z 0-9 Space. One more condition is the first letter should be alphabetic. How can I do a javascript verification on each keypress? ...
I'm trying to profile the performance of a web site that I'm fairly confident is being slowed down by the loading of JavaScript files on the page. The same JavaScript files are included several times on the page, and <script /> tags are scattered throughout the page instead of being included at the bottom. As I suspected, when looking ...
hi.... In a form(File.aspx) i am generating another popup window (Lookup.aspx including a DataGrid). From that datagrid i can fill the textbox in File.aspx using javascript.It works in InternetExplorer7 & InternetExplorer8 .But in Morzilla the popup & datagrid is appearing,but i can't select from datagrid . In same manner a calendar ...
Hi stackoverflow! (first post!) Ive been trying to get this problem solved, but I cant seem to figure it out without some serious workarounds. if I have the following html code: <ul> <li class="parent"> headertext </li> <li> text </li> <li> text </li> <li> text </li> <li class="parent"> headertext </li> <li> text </li> <li> text </li>...
What causes this to happen? (the mouse is not being moved or clicked) ...
Hello, Am wondering how to post an array using $.ajax. My array is something like this: var a = new Array(); a['test'] = 1; a['test2'] = 2; and so on... I tried: $.ajax({ url: baseUrl+"chat.php", data: { vars: a}, type: 'post', success: function(data) { alert(data); }}); Any suggestions? Thank you for your time. ...
I have a link on my site that is strictly JavaScript, that the users can optionally drag to their browser's link bar. Because there is no associated site with a Favicon, the link always gets a blank icon. Is there anyway to associate a Favicon with it at the time the user drags it? I am primarily interested in a Firefox solution, but IE ...
Javascript Objects and JScript Dictionary are both associative Arrays obj = new Object ; dic = new ActiveXObject("Scripting.Dictionary") ; My question is... Is there any difference between them in terms of efficiency (either space or time) ?? In terms of functionality, I know a Dictionary is better because it allows more than just sca...
I'm formulating an Ajax request using prototype in the following method: function updateServerStep(stepNumber){ alert("updating server step to " + stepNumber); var params = {stepNumber:stepNumber}; alert(params.stepNumber); var request = new Ajax.Request('UpdateStep', { method:'Post', parameters:params, ...
Hi, In days of ajaxish Web2.0 I wonder whether it is possible to create 100% barrier-free web pages or if there are even patterns to support common Web2.0-practices. What came to my mind is drag&drop. Is there an all-round solution for this or does it depend highly on the way the technique is used? Thanks! ...
Is any better way than this function to make a sleep in javascript, or should I just use that function? (taken from here) function pausecomp(millis) { var date = new Date(); var curDate = null; do { curDate = new Date(); } while(curDate-date < millis); } This is not a dupe of http://stackoverflow.com/questions/758688/sleep-in...
I'm having a hard time working out a design pattern in Jquery to control multiple AJAX and Animations. I of course have the AJAX and Animations bound to some events like 'click' but I'm trying to keep the code modular with functions and adding wrapper methods ($.fn), but I don't know how to get code to run when a function or a wrapper m...
Is it possible to check if the client browser has javascript enabled from ASP.NET code? I was hoping to ideally do this on PreRender of controls, or PageLoad, so that I can change how they look. Any suggestions, work arounds etc would be much appreciated. ...