best treeview control?
Hi, i'm looking at yui's treeview control, any others you guys recommend? I don't want to support the codebase, so hopefully it is something 'tried and true' :) ...
Hi, i'm looking at yui's treeview control, any others you guys recommend? I don't want to support the codebase, so hopefully it is something 'tried and true' :) ...
We have a need to leverage client side resources for lists containing tasks. The client needs to: be notified of updates to the list be able to re-order/filter the list (requesting an update from the server with tasks that the client does not know of/have in cache) The problem comes on initial load or large list updates (changing fr...
I am trying to create some HTML which shows me if my server is available from the internet, green light OK red light unavailable. This I can do for a remote site but not for my home, my router seems to prevent me from returning to home via my static IP address. I want to create some HTML so that I see how I look from my ISP not my own LA...
I'm looking for something like alert() but doesn't "puase" the script. I want to display an alert and allow the next command, a form submit(), to continue. So the page will be changing after the alert is displayed, but it won't wait till the user has clicked OK. Is there something like this or is it just one of those impossible things?...
I need to grab the height of the window and the scrolling offset in jQuery, but I haven't had any luck finding this in the jQuery docs or Google. I'm 90% certain there's a way to access height and scrollTop for an element (presumably including the window), but I just can't find the specific reference. Any help is appreciated! Thanks! ...
I'm using YUI to add drag drop support to a div. It also responds to clicks. Unfortunately, the click behavior takes effect even after a drag drop operation. Here's a code snippet: // Create a DOM object for the group tag. div = document.createElement('div'); div.className = 'group'; div.onclick = function() { beginEditName(); } contain...
I'm trying to use the ASP.NET MVC Ajax.BeginForm helper but don't want to use the existing content insertion options when the call completes. Instead, I want to use a custom JavaScript function as the callback. This works, but the result I want should be returned as JSON. Unfortunately, the framework just treats the data as a string. Be...
Ok, I have one Javascript that creates rows in a table like this: function AddRow(text,rowID) { var tbl = document.getElementById('tblNotePanel'); var row = tbl.insertRow(tbl.rows.length); var cell = row.insertCell(); var textNode = document.createTextNode(text); cell.id = rowID; cell.style.backgroundColor ...
Hello, How do I check if a field (textbox) is empty or filled only with white spaces (spaces/enters/tabs etc.), using javascript RegExp? ...
I have a Yahoo! Widgets Web object ( http://tinyurl.com/YW-webObj ) and I'd like to access elements inside of it when it's done loading. I'm already handling everything wonderfully via the WebEvents Y!W provides, but there's one small problem. Web objects don't appear to have any DOM of their loaded page. I can access webObj.html, wh...
Hi I have used AJAXToolkit AutoComplete extender in my project.It works fines.But the issue is with the form of the page. when i type in the AutoComplete, i get list of suggestions.When i click on the page other than the Autocomplete, the form gets submitted. any suggestions how to stop submission of entire form whenever i click on the...
I want to let the user draw on an image in a browser. In other words, I need both bitmapped graphics and drawing capabilities, whether vector or bitmapped. Canvas looks good, but is not supported by IE, and though there is ExCanvas, I wonder if ExCanvas is stable enough for consistent use in IE6 through 8. Or best of all, is there an o...
I'm trying to find a way with javascript to highlight the text the user selects when they click some odd highlight button (as in <span style="background-color:yellow">highlighted text</span>). It only has to work with either WebKit or Firefox, but it seems to be well nigh impossible because it has to work in the following cases: <p>this...
Hello, I am using this HTML <html> <head> <Title>EBAY Search</title> </head> <script language="JavaScript" src="ajaxlib.js"></script> <body> Click here <a href="#" OnClick="GetEmployee()">link</a> to show content <div id="Result"><The result will be fetched here></div> </body> </html> With ...
hello, i have a html file calling this JavaScript. var xmlHttp function GetEmployee() { xmlHttp=GetXmlHttpObject() if(xmlHttp==null) { alert("Your browser is not supported?") } var url="get_employee.php?" url=url+"cmd=GetEmployee" url=url+"&sid="+Math.random() xmlHttp.open("GET",url,true) xmlHttp.send(null) } function FetchComplete() {...
I am just getting started creating an AJAX application using server side push. I am using Grizzly Comet on Glassfish V2. Almost all the sample applications use IFrames for updating content on the client side. I want to stick to using JavaScript only. Are there any such sample applications (preferably ones that do not use a JavaScript lib...
We determined in a previous question that many features of HTML SELECTs are not supported in IE. Is there an alternative widget that you would recommend from your experience that meets the following requirements? Respects the contentEditable property (does not allow selection changes if true) Respects the disabled property of individu...
I know I could do this with closures (var self = this) if object was a function... <a href="#" id="x">click here</a> <script type="text/javascript"> var object = { y : 1, handle_click : function (e) { alert('handling click'); //want to access y here return false; }, ...
I'm building a pretty basic HTML table creator/editor (based on a designMode iframe) at work, using direct DOM manipulation. It's a pain, obviously due to Internet Explorer. When in designMode, a table inserted into the editing area iframe is resizable and the contents of the cells can be freely edited. In Firefox, rows and columns can ...
I am trying to do positioning in JavaScript. I am using a cumulative position function based on the classic quirksmode function that sums offsetTop and offsetLeft for each offsetParent until the top node. However, I am running into an issue where the element I'm interested in has no offsetParent in Firefox. In IE offsetParent exists, ...