which better ? jquery and YUI
hi all which one am i use jquery and YUI. which one is better jquery and YUI or another javascript library or framework ...
hi all which one am i use jquery and YUI. which one is better jquery and YUI or another javascript library or framework ...
I'm using jstree jQuery plugin, and I'm using the cookie plugin to save previously selected node on refresh. However, if the tree structure contains two nodes with the same name (under different parents), both will be selected on a refresh. Anybody know how come, and what to do about it? Here's the code: $("#divLeftPane") ...
Hope you can help. A bit of a jQuery/AJAX newb here. I have a basic SimpleModal login form that may be called from the homepage of my site. login.js calls the login.php script that checks my database for a user's credentials. If the login is successful I set a few session variables and I usually use the header command to send the use...
I have a listbox which (sometimes) uses OptionGroups as well, meaning that if I select the parent of a certain OPTION in my listbox, as follows: var optionGroup = $(this.options(index)).parent(); it can either be an OptionGroup (if they're used), or the Select element itself. Is there an easy way of determining which kind of object I...
Hi guys, I am using .slideToggle - Jquery to create an accordion and It works so far. However, When div#slickbox goes down or up the page does not scroll with it. The page maintain scroll position. I have 2 huge images(700px x 1300px) inside div#slickbox. I want to scroll the page with the content, down & up. How can I do this? ...
Hi, I select some tables using this: $('.StatusDateTable').each(function() { var statusLight = $(this).find(".StatusLight").attr("src"); statusLight = statusLight.substring(33).slice(0,-9); if (statusLight == "Blue") { var columns = Math.abs((start - end)-1); var columnWidth = 40; var marginRight = Math.abs(columnWidth * c...
Hello, I am using following code to get relevant search result : <form> <input id="message" type="text" name="search" value=""/> </form> <div id="searchresults" class="contentbox"></div> <div id="noresult" class="contentbox" style="display:none">no results found.</div> function getticketsuggestions() { currentcheckcontent = ...
Hi, How do they achieve that nice sliding input box? All I notice is that, their form margin is changing when you paste something. Do they use any plugin for jQuery? Any idea? ...
Hi guys, I'm a complete absolute jQuery noob. I've been following a tutorial to add a CSS/jQuery navigation menu to my site, and I got it working.. The only thing I would like to see added is a small delay on Mouse out, because the dropdown menu is disappearing instantly when you mouse out which makes the menu a bit annoying to use. Her...
I'm trying to develop a simple shopping cart and using http://jqueryui.com/demos/droppable/#photo-manager as the base. However when I drop the Image I don't want it to disaapear from the normal list. I've been messing around for the last day try to sort it and just can't figure it. it's got something to do with the deleteImage funtion,...
Only if form action is /?cms_mode=edit <body id="home"> <form method="post" action="/?cms_mode=edit" id="main"> </form> </body> then a js file edit.js should be added into head, otherwise not. <head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="main.js"></script> <script type="...
Assume a document with a single input. What I'm trying to do is as simple as this: $("input").focus().is(":focus"); I would expect the above code to return true. Instead, firebug logs an error: Syntax error, unrecognized expression: Syntax error, unrecognized expression: focus What am I missing here? I assumed that the syntax used ...
I have the following function: $("#myId").css({left: leftVal+"px", top:topVal+"px"}); this works. I am looking for a way to add left: leftVal+"px", top:topVal+"px" as a variable and make my function: $("#myId").css({myCSSstuff}); I've tryed var myCSSstuff= "left: "+leftVal+"px, top:"+topVal+"px" but it does not work. Is there...
I use jquery facebox as delete confirmation box. When i do a delete it removes my record and i show the resultsdiv via javascript. But it always shows Error: document.getElementById("ImageButtonDiv") is null here is my code, protected void Delete_Click(object sender, EventArgs e) { // my delete ScriptManager.RegisterClientScri...
I made some adjustments to s3slider in order to display images of different size However when adjusting postion to bottom I have strange 5 px space under FF,IE,Chrome and Safari only Opera is not affected. How to solve this problem excluding negative bottom margin (this makes script work ok on every browser but doesnt work on Opera). He...
I'm making an intranet application and experimenting with the Jeditable plugin for jQuery. The following function makes an element (in this case a td element) clickable, which then turns it editable (again in this case selectable, as it's a select box) and checks a key listener to see if tab or shift-tab has been pressed to activate the ...
I have a form that I use to post Live data that is appended to the form using Jquery. The data that is appended contains an input box containing the value of the data I want the form to post. Everything works in Chrome, Firefox and IE8 but not IE7. Why can't IE7 post live data. What am I doing wrong is there anyway to get around this???...
Hi, I am new to jquery. I have this in my code: $("tbody tr:odd ").addClass("alt"); with css: tbody tr.alt td { background-color: #e6EEEE; } I have a cell in table with <td class="coloron"> Right now, the every other row command is over riding my class="coloron". How can I maintain my cell unique colour while having every...
I am using Supersleight to make images transparent in IE6. I am also using TinyMCE for rich text areas. However, when I activate TinyMCE with the tinyMCE.init method, supersleight stops working. Has anyone else experienced this and maybe found a workaround? ...
OK, so I have this pretty cool Mario-themed media player, created by the customization of the immensely powerful jQuery plugin, jplayer. So, I would like to give the option to the user to choose whether he or she would like to have auto-starting music play in the background of the website. I have it off by default, as this is supposed ...