Tree View On Right Click give Options to Add,Delete,Edit Group and elements in that Group
Hi, Please create a plugin to create a tree view on right click add,delete ,edit group and elements, in a div..
(autocomplete) Plugin not returning all elements and limiting
Hi guys I've got the autocomplete plugin I've noticed that it is not showing all the elements returned by the mySQL query... 1) How can I debug and check if the list is showing all the items it should? For example, I've checked that writing "cañ" -w/o quotes- should return and show 312 elements, but it does not show more than 20 2) Basing on 1)... showing 312 elements would be a waste of load time, should I limit query or should I touch autocomplete plugin's code? Thanks a lot in advance
watermark validation problem
Hi, I've got two problems using the validation plugin with my watermark plugins. 1. When I press submit, al my watermark inputs disappears and the plugin doesn't report the fields as "not filled" Of course, this is because I’ve got a watermark input, so the field aren't empty. When I press the submit button for the second time the script works, because all my watermark inputs are gone. How can I solve this? 2. When i submit the form the validate plugin gives al my empty fields the class "error".
getting rid of trailing comma for IE
i have a jcarousel (circular, with hyperlinks, which i have populated with a php recordset) the problem is, the way the data is constructed, there is a trailing comma after the last itemlist item, which (i believe) causes a problem with IE8. The page seems to work ok under ff3 is there a way i can get rid of it, or construct the itemlist differently UPDATE i have managed a 'quick and dirty' solution, by changing the recordset field to simulate the solution, but this will not work if the row order
A modification to the jCarousel plug-in
Hey everyone, I'm sure this question has been asked before, but I can't seem to find any specific-enough inquiries or answers. Here goes: Simply put, all I'd like to do is change the animation from a carousel effect (moving left/right) to a fade-in/fade-out. I'm using the full jCarousel (not jCarousel lite) with ajax functionality. Is there anything I can do to make this happen? For reference, this is my companies website, where I'd like to make this change -- http://armadadesign.ca/PORTFOLIO/portfolio.php
[TOOLTIP] BGiFrame.js with IE 7
Not sure if this is the correct forum or not. I'm just posting this incase anyone runs into a similar issue. What I did is download all of the files from http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/. I even downloaded the optional BGIframe file as it mentioned IE Everything was set up and working great in FF and even IE6 and 8, but not 7. What I was seeing with IE 7 is the tooltip loading, but with transparent font. Every so often I'd mouse over the the area and the tooltip would
superfish wordpress navbar
hi. ich habe superfish in wordpress eingebunden. funktioniert soweit ganz gut. wenn ich allerdings in der subnavigation auf einen link klicke verschwindet die subnavigation nach dem reload. kann mir da jemand helfen???
using setTimeout to auto-submit a form not working
I have a confirmation page that, when loaded, has a form that's posted using ajaxSubmit. Works great but I want to enhance the user experience by auto-submitting the form. However, I want to leave the submit button in-tact just in case there's an issue with the timer. here's what I have, I wonder why it isn't working? $(document).ready(function() { var options = { target:'#result'}; setTimeout(function(){$('#formconfirm').submit(function() { $(this).ajaxSubmit(options);
[Cycle Plugin] - html(this.alt); seems to not display my attached text captions
I basically have an image slideshow using the Cycle Plugin. <div id="#"><a href=" "><img src=" " alt=" " /></a> </div> What I have also done is used: jQuery('#captiontext').html(this.alt); To display the current slide's alt text. However, the entire slideshow works properly but since I wrapped each slide with an a href link, it does not display the alt text. CODE USED: jQuery(document).ready(function(){ jQuery('#mainfeat').cycle({ fx: 'fade', speed: 500, timeout: 7000, pager:
Tablesorter/Drag and drop alternate colors problem
Hi, I'm using the Tablesorter Plugin to sort a table when click on the table headers and to give my table alternate colors (with the zebra widget). I also use the Drag and Drop plugin to drag my table rows to a different order. But here's the problem, if I drag a row to a different order, the colors are no longer correct. Only after I sort my table (with a click on one of the table headers) the colors are correct again. The code: <html> <head> <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
[Autocomplete] Using UTF-8 encoding and local data javascript - matching fails
Hello, I'm using Jorn's Autocomplete plugin for Greek language. My data is dumped to a local file 'localdata.js' from the database and then the autocomplete matches strings to that data (as in the example with the email matching...). Both me database and my HTMLs are in UTF-8, and although my data is printed well in my webpage, no match is made to the greek strings. Strings in English are matched perfectly, but no matching can be made with the greek ones. What should I do? Is it a javascript problem?
Cluetip plugin - make sticky cluetips "modal"
Is there a way to make sticky cluetips be effectively modal? I want to disable other cluetips from popping up on a mouseover, if I already have a sticky cluetip open. It appears that the default behavior is for any cluetip to close all other cluetips upon activation. I don't want multiple cluetips to open. I just want to temporarily disable them while a sticky one is open. Possible? Simple? Thx.
autocomplete: how do I avoid a duplicate search?
I use autocomplete as a kind of dataset chooser. If the user chooses a value from the autocomplete lookup, the database is queried for the matching dataset. If the user types in a new value, the user can enter a new dataset. An issue arises when the user types in an existing value rather than choosing it from the autocomplete suggestion list. When this is done, the autocomplete .result() method is not called and no dataset is retrieved. To fix this I added a `.blur(function(){$(this).search();});`
Error handling using jquery forms plugin
Hi all, I'm having issues doing some proper error handling when using the form plugin and uploading a file. It looks like when I have an upload in the form the response code 500 is ignored. The code is as simple as this : $("#uplForm").ajaxForm({ success: function(respText) { alert("Success"); }, error: function() { alert("ERROR") }, timeout: 10000 }); Now, my server side language is python/django
jQuery Autocomplete
Hi. I am using the jQuery AutoComplete pluging. My servlet is returing XML in the following format: <serial_numbers> <serial_number>123456</serial_number> <serial_number>987654</serial_number> <serial_number>1111111</serial_number> </serial_numbers> I am overriding the parse function with the following function to parse the xml: parse: function(data) { var parsed = []; $(data).find("serial_number").each(function() { parsed[parsed.length] = {
Thickbox and Coda Slider conflict...
Anyone know how to solve this issue or have a work around for this? When using both plugins there is a conflict and does not work. Please help....going nuts over this and I know it is not the first time this has happened to anyone. Any other options are much appreciated. Maybe using a different script library will solve it?
Validation Plugin: Invoke errorPlacement function onfocusout, keyup and click
Hi, I am using the bassistance validation plugin and want to use the errorPlacement function to add error messages to the fields title attribute and display just a ✘ next to the field. This works great when the form is submitted with the submit button but when any of the following events are triggered: onfocusout click onkeyup The validation checks are run but it skips the errorPlacement function and adds the full error message after the field. I have tried setting focusCleanup to true, as was suggested
JQGRID Problem
Hi ALL, I’m using jqGrid in ASP.NET. jqGrid is literally good. As of now, I’m using Handler(ashx) through WebService(asmx) to convert the DataTable into JSON and display in the Grid. I m Unable to Populate the data to jqgrid. I m getting the data from database to generichandlers page. But That data is not bind to grid .I m getting the Following Error on Jqgrid. I m unable to Solve it. The Error is look like this Line:13 Char:149 Error: Expected ']' Code '0' My Code is look like this. pls tell the
(autocomplete) search() using formatResult? (rather than formatMatch or formatItem)
I'm using blur on my autocomplete field and calling the search() function explicitly (as is suggested in the code example for search()) to validate the user entry (when they click somewhere else on the page and the autocomplete field loses focus). but this doesn't work for me because my formatResult function takes a user entry like "prefix suffix" and returns just "suffix" ("prefix" is put into another form element by my result() function). formatItem returns the full "prefix suffix" and that is
jQuery TreeView - add
Hi, First i would like to thank the author(treeview) for providing such a nice plugin. My Question is how can we add a element to a existing tree say i have a tree view with fruits and vegetables as the main elements, In the fruits i have sub-elements apple, orange and in the vegetables i have tomato, carrot Now on a button click i want to add a new fruit pineapple to the existing fruits element. so now my tree view should be like this fruits which contains apple, orange and pineapple and vegetables
Jquery Hotkeys plugin causing issue for BlokUI tab navigation when we use together.
Jquery blockUI not preventing tab key to navigate to blocked content when we used together with Jquery HotKeys plugin. This is because Jquery Hotkeys is overriding $(document).bind( type,eventdata, function) method and BlockUI is using same method to prevent tabbing. Why hotkeys plugin is overriding core library method, can't it be done using some other method signature some thin like $(document).hotkey(type, key combi, callback)
IE6/7 Cross-Browsing Help
Hello, first off I want to say I hate IE6. It needs to rot in a hole and never be spoken of again. With that said, I'm having problems with IE6/7. I'm having problems with the Z-index, and also my .hover a href's not working after one session of mouse overs. Here is the website I'm working on: DEMO I'm trying to use: bgiframe to fix IE6's lack of Z-index support. But I don't think I have it set up right. Here is the URL to my CSS(and the jQuery is in my HTML ): stylesheet.css Also, as for my .hover
Reg. Block UI Plugin Global Function
Hi, A scenario where in my page needs to show overlay using blockui plugin , but unable to achieve the same. Am trying to use the global function for all ajax calls. Am i missing something in the understanding, am new to jquery. Doesnt seem to show the box during the time taken to load the page. Even on button click it doesnt fire to show the message. Pls help, thanks <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title></title> <script src="jquery-1.3.2.js" type="text/javascript"></script>
Validate - Custom placement of error messages in a tool tip
Does anyone know of a way to make the validation plug-in work like this demo? http://www.webappers.com/2009/06/12/jquery-inline-form-validation-engine/ I am looking for code that explains how to show and hide a tooltip that contains the error message. I would imagine that I could use any tooltip pulg-in. I was thinking it would use the showErrors method. Thanks Paul Speranza
Simple Modal
I am using Simple Modal Confirm Overide (http://www.ericmmartin.com/projects/simplemodal-demos/#) for my site, I have made minimal modifications to it and call it this way now: onclick="runconfirm('Are you sure you wish to continue?', '', 'global_site_status');"Now the old confirm.js is now function runconfirm(message, callbacky, callbackn){ confirm(message, callbacky, callbackn); } function confirm(message, callbacky, callbackn) { $('#confirm').modal({ position: ["20.8%",],
Wrap a Rails Ajax response in textarea?
I am using the jQuery form plugin to submit an attachment via Ajax. From the documentation, it sounds like I need to wrap the response in a textarea -- but I have no idea how to mix render :update or render with an RJS template with the textarea.... Help! Also, I assume I do not need to name a target, since the response is going back to the iframe where it will run in a global context...
check insane timeout - Cycle Plugin
Certain combinations of timeout and speed can break the shuffle effect, for example when (timeout, speed) = (1000, 600). I took a quick look at jquery.cycle.all.js, and found a potential fix: while((opts.timeout - opts.speed) < (opts.fx == "shuffle" ? 500 : 250)) // sanitize timeout opts.timeout += opts.speed; The original code was: while((opts.timeout - opts.speed) < 250) // sanitize timeout opts.timeout += opts.speed; I did limited testing and the fix worked. I only had a very quick look
Autocomplete and highlighting search terms / displaying counts
I am using jQuery 1.8RC3 with autocomplete and ajax-callback (based on the remote-with-cache-example). I have two questions: How can I mark the search term in the result in bold? How can I display returned number of hits similar to what Google does? Current code in JSP: <script type="text/javascript"> $(function() { var cache = {}; $("#search").autocomplete({ source: function(request, response) { if (cache.term == request.term && cache.content) { response(cache.content); } if (new RegExp(cache.term).test(request.term)
Multiple superfish instances on one page
Hello. What would I need to to implement two kinds of superfish menus on one page, i.e. one hoeizontal and one vertical?Do I need to invoke superfish.js twice for each ul class, or can reuse one superfish instance but with different css files - and how far do I then need to rename the css rules?
JQuery Validation on input type file
Greetings to the group I have JQuery successfully running on my site, but I have a slight problem with the validation on an input type file. Here is my code: $.validator.addMethod("uploadFile", function(val, element) { var ext = $('.uploadFile').val().split('.').pop().toLowerCase(); var allow = new Array('gif','png','jpg','jpeg'); if(jQuery.inArray(ext, allow) == -1) { document.getElementById("imgHolder").src= "product_small.jpg" return false }else{ document.getElementById("imgHolder").src=
jquery-tmpl - any reason to avoid it?
I'm shopping for a templating plugin. I like the look of jquery-tmpl, particularly since there are plans to integrate it with jquery. it looks like its been posted for demo purposes. is it incomplete? do i need to chose something else for now? my main concern is corner cases with browser support.
John Malsup Cycle Plugin
I want to utilize the Cycle plugin. Specifically, the 'pager' feature. However, I'm not clear on how to set up the links to the slides. Instead of slide numbers (as demo'd on the site), I'd like to use a href='' links with specific text to drive the navigation. Does anyone know how this can be done?
jquery.timers.js loop?
I'm using the latest timers jQuery plugin and the laetst jQuery available as well. Here's my code: $('#test').everyTime(1000,function(i) { if (i>4) { i = i-5; } $('#test').html(i); });And here's the HTML <div id="test"></div>Here's the deal: When the function starts, "i" starts with a value of "1" and starts increasing +1 every second. So far, so good. When "i" goes to 5, the script rests 5 from it to make it 0 again. Once again, so far, so good. "i" continues
JQGrid Error
Hi ALL, I’m using jqGrid in ASP.NET. jqGrid is literally good. As of now, I’m using Handler(ashx) through WebService(asmx) to convert the DataTable into JSON and display in the Grid. I m getting the Following Error on Jqgrid. I m unable to Solve it. The Error is look like this Line:11 char:1468 error: ']' Expected Code '0' Pls Help me .. How to solve this error.
Problem with collapsible div
Hello, I use this plugin for a guestbook. It works fine but when I go to page 2 it doesn't work well. You can see it work at : http://test.tamarawobben.nl/index.php?s=gastenboek How can I make it work ? Roelof
jQuery Treeview
First, I would like to say that this is a very nice plugin, thank you to the author. While I like it, it is hard to use custom css with, especially for a non-guru. Not sure why exactly but I can't get it to display the folders at all just the bullets plus/minus. Suggestions: Add the option to close other nodes so that only one node per level is open at a time. My main suggestion would be to have a default css which you do, and then allow users to override the default settings in the options with
Tooltip nodeType of undefined
I've got a plugin running on quite a few sites with no problem, but on one site - kremer.com, I get the following error: Uncaught TypeError: Cannot read property 'nodeType' of undefined I don't understand why it would not run on that specific site but it's okay everywhere else. Any ideas? Thanks! Doug
Jquery Context Menu + asp.net Gridview
Im trying to create a gridview table with a right click menu so i can handle indivual items in the Gridview. The problem im having is asp.net creates a gridview like a table. and then puts a hidden input feild in each table. the value of this hidden field is what i need to get in order to process it. I cant figure out how to get it? I can only get the id of the item.. this is what i have so far: $(document).ready(function() { $('table td').contextMenu('myMenu1', { bindings: {
Hooking the onblur and onkeyup for the validator plugin.
I am using the JQuery validation plugin. What I am trying to do is to detect when a validation fires. I have successfully hooked the submit functionality but I need the onblur and onkeyup as well. I have a form with tabs across the top. If a field is in an invalid state, I want to display an exclamation mark beside that tab. I have it working fine on submit but not when the fields validate onblur. What I use to hook the submit is the following. var validator = $("form").validate({ invalidHandler:
clueTip hrefs not clickable
I've been using clueTips on my site for a little while. I found that when used on links, the links are no longer clickable. eg. If you create a link to google.com and put a clueTip on it, the clueTip will work, but you can't click the link to go through to google.com. So far I've tested in Firefox 3.5.8 and Safari 4.0.3 Even the demo on the clueTip site behaves this way. See http://plugins.learningjquery.com/cluetip/demo/ example 7.
Next Page