jquery validation: position error message radiobuttons
Hello, Am I crazy or is this validation plugin totally useless if you got your radiobuttons horzontally aligned? I am trying to get my error message showing under the radiobuttons but it seems that it's not possible without it screwing up the layout because the error message always show right after the first radiobutton and therefor pushes the other radiobuttons away. Is there any way I can place it in a way that it won't do that? I'm trying to get this done for 4 days now and it's driving me nuts!
Autocomplete - give a readonly list
H Guys, I am using the jquery autocomplete plugin. What I think I may be using the wrong pligin for my needs. I have a form where users register. Obviously each user ID has to be unique. So when they start tyyping I want to five them a readonly list to say These User names are already in use... if they type "A" I want to give them a notification These names are already is use Al Alan Alex Aron if they type "AL" I want to give them a notification These names are already is use Al Alan Alex if they
Jquery autocomplete - bassistance.de IE 8 issue
Hi, I am using Jquery autocomplete plugin in my project. i am facing an issue in IE(works perfectly in FF) In IE, the suggestions box is not showing below textbox, it is showing above the textbox, issues is - if browser has a scroll bar, then that scroll offset not calculating. could you please suggest me any work around. here is my code: $(document).ready(function() { var acOptions = { minChars: 1,max: 100,width: 100, scrollHeight: 100,dataType: 'json', extraParams: { format: 'json'}, parse: function(data)
Using jqGrid with autocomplete in edit form
Hi, I've been working with the jqGrid, looking for an example for an autocomplete in a text field on the edit form. In the jqGrid documentation there's only an example with a datepicker. Here is an example with an autocomplete: in the colModel: { name: 'ID_hidden_field', hidden: true, editable: true }, { name: 'field_name_here', editable: true, width: 235,edittype: 'text', editoptions: { dataInit: function(elem) { $(elem).autocomplete("URL", {
Validating text fields based on value in file input field
Relative jQuery noob here, so be gentle! In a form allowing user uploads of an image, I'm trying to make two fields ("picturebyline" and "picturecaptionheading") required IF there is a value in the field "picture", which is a file input field. (Allows users to browse and select a local image for upload). Using jquery.validate, of course. The code that follows is what I thought would work, but does not. Any pointers? $(document).ready(function(){ $("#StorySubmit").validate({ rules: { title:
need htm example using jBlockUI,
I am new here, I am trying to use the BlockUI like in this demo : http://malsup.com/jquery/block/#page but it does not work, Can someone plz give me a small example (html) on how to use it. thanks.
Jeditable image placeholder
Could someone help me see what's wrong with my code. I'm trying to apply Jeditable to a table cell, with an image as placeholder and the problem is that the image html code gets shoved inside the text field when I click to edit. I've attached two png images to illustrate the problem. jQuery code: $('.editBet').editable('edit_bet.php', { placeholder: '<img src="grafik/file_edit.png" alt="Klicka för att redigera" />' });HTML-code: <td class="editBet"></td>
Using jquery form and validation plugins together
Hi I'm new to jquery and struggling with my attempt to use the form plugin (http://malsup.com/jquery/form/) and the validate plugin (http://docs.jquery.com/Plugins/Validation) together on the same form. I've got jquery form working perfectly, but have no idea what code to add to include validate on the same form. Here's my script: <script type="text/javascript" src="/js/jquery-1.3.2.js"></script> <script type="text/javascript" src="/jquery.form.js"></script> <script type="text/javascript" src="/jquery.validate.js"></script>
[Superfish] Separate superfish on one page - need to close all the others when one is opened
Hello all, We're using superfish vertical for several separate menus on a page - #sf-menu-1, #sf-menu-2 and so on. We also use the delay on hover - this was one of the main reasons for choosing superfish. However, if after hovering sf-menu-1, one wants to see sf-menu-2, they cover each other, because sf-menu-1 is respecting the set delay. How could I send a hide instruction from sf-menu-2 to sf-menu-1 (and similar for the other menus on that page)? (It's not a z-index issue, because we don't want
Tablesorter 2.X and Cookie Widget
Hi all, I am very new in using jQuery ;) The first plug-in I used is the Tablesorter and it's working fine. Now I figured out that there is a widget called tablesorter.cookie by James Dempster, which stores the current orderstate in a cookie. It allows to rebuild the order state after someone revisits a page. My problem is that this widget is not available anymore! Does somebody know, where I can get it? Thx for help, Stefan
Tablesorter 2.0: Get current sort order
Hi, I'm trying to find a way to get the current sort order of a table sorted with the tablesorter plugin. From googleing i've found two ideas - 1. Using the class of the column - that works but will not yield the actual sort order if multiple columns are sorted $('#table thead tr th').each( function(a){ var index =$(this).index(); var sortUp=$(this).is('.headerSortUp');
Cookie not accessing
Hi, I am using ui.sortable for dragdrop sorting. In my application it is working fine but on one page i am getting response "Authetication Failed". When saw jquery request and response details in firebug(firefox) i found that my main cookie is missing in the "Request Headers". Please help me in this issue ASAP. Thanks
Need help with bassistance Autocomplete field entry dependency
Hello, I'm looking to get some help with configuring the Bassistance.de Autocomplete plugin to refresh my form based on field dependency of an entered field. So that fields such as cities, provinces & countries are updated when a continent is chosen or vice-versa. Using the guidelines set here: http://docs.jquery.com/Plugins/Autocomplete#Dependencies_between_fields I created a the code below for this form http://wordpressclues.com/mat/form4/ and would like the form to refresh on field entry as on
Bassistance.de Autocomplete - How to make field refreshes dependant on other fields
Hello, I've come across a problem where I can't seem to figure out how to make autocomplete field boxes dependent on each other. -=- I'm also looking for experienced AJAX/jQuery programmers as well on other project, so I don't have to do this work. Please feel free to contact me at the site below with your hourly / project rates if you are available for freelancing. -=- This is the form in progress where you can see the autocomplete is working, but no refresh is happening when either a country or
Plugin for fixed notification
Hello, I am looking for a plugin to display notifications in a fixed position. I'll use it as an add-in, and I don't have control on the original Web page where the plugin will be placed. So an essential requirement is that the plugin be compatible with various doctypes, including quirks mode. Do you have any recommendation? I tried Meerkat, but it didn't work well when I tested it in quirks mode. I am considering Gritter and jGrowl, and I'd be interested in a comparison between the two.
Jquery Datepicker Month Calculation Issue
Im using DatePicker to let the user choose a date more comfortable. Im having an issue when the datepicker shows the month. Its being calculated the wrong way. For example the march starts with an Tuesday, but Monday would be right(check attachment). Since this issue seems to be known since 2008 and happens in certain timezones, i was wondering if there is an easy solution for this one. The issue thread is not a very big help for me. I dont get what the dependencies on the mentioned date.js are.
jQuery Cycle pager and pagerAnchorBuilder Question
Hi everyone I'm a bit of a fledgling with all things Javascript, but I have to say, jQuery is very nice and seems to be extremely versatile! I'm starting to get a decent grasp on a few things I think. I had a question related to the jQuery Cycle plugin. I'm trying to understand how I can utilize two different effects on two different portions of my page. First, I got the pagerAnchorBuilder to operate correctly in terms of going to the specified <li> item when clicked, while still cycling through
[autocomplete] extraParams and .result() issues
ok, so according to the documentation you should be able to attach dynamic parameters to "extraParams" like so..... $("#states").autocomplete(url, { extraParams: { country: function() { return $("#country").val(); } } }); Well can some please tell me why when i do this..... var options = { extraParams: { 'searchBy':function(){return 'page';}, 'returnFormat':'endline', 'overrideQueryLimit':true
problem with validation plugin and request
i want to get a script which checks the databes for existing usernames. but in fact it does nothing, it even buggs: when typing a username with 2 characters (error: "Enter at least 3 characters" - which is actually okay) and then inserting a 3rd or more characters the error message does not dissapear, you can't send the form. when you type a correct username instant, the script works. i have no idea whats wrong. code following: $("#signupform").validate({ rules: { username: {
How do I use validation plugin for non-standard form submit method?
Hi, I'm new to jQuery and the validation plugin, and I'm trying to implement its use for a search form. When I include a submit button on the form the validation runs fine, but because of design issues we're using an image instead of a submit button and for the href of the anchor tag wrapping the image use "javascript:form.submit();" as the basic format of submitting the form. In this case the validation isn't running. Is there some way I can configure the settings for the validator to be able
Validate: Making multiple elements with the same name all required
I have a form with multiple elements with the same name (this gets treated as an array of values on post). I want them all to be required, but when I submit the form it passes validation if only one of them has a value. E.g: <script type="text/javascript"> $(document).ready(function() { $("form").validate({ rules: { field: "required" } }); }); </script> <form> <select name="field"> <option value="">Select...</option> <option value="something">Something</option>
disable mouse events from pines notify plugin
Does anybody know how to disable mouse events from pines notify plugin ?? this is the I'm talking about: http://plugins.jquery.com/project/pnotify You see, when a notification appears and disappears after some seconds, if I put the mouse just as the notification starts disappearing this doesn't disappears and appears again. In other words, no matter the user puts the mouse over the notifications, I want them to disappear anyway without appering again. Thanks jony
how to animate images?
Please, what I need now is for example, I have some images and I want every so often that image to change automatically and when the mouse is over to stop that image...
Having trouble with registering jquery accordion on webusercontrol code behind
Hello everyone, I am trying to register a jquery accordion on a dynamically loaded usercontrol. Here is the situation: The parent page has a asp menu control and a placeholder control, when the menu option is clicked, the corresponding webusercontrol is loaded into the placeholder control on the parent page. This is how I registered datepicker control on the .ascx (usercontrol) code behind protected override void OnPreRender(EventArgs e) { base.OnPreRender(e); String script =
For those using the Treeview plugin: PHP directory builder
Drop me a thanks if you find it any good and you'll make me happy! $dir_id = if of the whole structure (the one you'll call in you jQuery) $dir_class... $path is the path to scan $extension is a filter. I used it to find all my PHP files for instance $file_on_click_event. I give you 1 guess function BuildFileList($dir_id, $dir_class = "filetree", $path="", $extension="", $file_on_click_event=""){ if(empty($path))$path = $_SERVER['DOCUMENT_ROOT']; function _BuildFileList($path,
superfish
Hello I'm using superfish for the navigation. Everything works good but i would like to edit the plugin so superfish only applies the animation to he first navigation level. all the other sublevels should be open and visible already when you hover the first level. Im new in javascript but i think this should be easy? Anyone has an idea how to do this? Thanks for the help Regards Kaspar
jQuery Expander plugin loses expand effect if beforeExpand callback function is defined
Hi, I was using the jQuery Expander plugin...love the effect but when I mapped a callback function to beforeExpand, the function and the default expandEffect only work the first time the expand link is clicked: $(document).ready(function() { $("#story p:gt(0)").expander({ slicePoint: 512, widow: 4, expandText: 'more', expandPrefix: '… ', expandSpeed: '2000', userCollapseText: 'less', userCollapsePrefix: ' …', beforeExpand: function() { $("#copyright").fadeOut(200); }, onCollapse: function($thisElement,
jCarouselLite inner content functions not working?
Hi all, I have a jCarouselLite object that loads up 8 images in a row. Attached to each of these images is a lightview reference so that when clicked they load a lightbox. The first 8 work great, but when I scroll left or right the other sets of images just open in a new url rather than being in the lightview. I've inspected the code, and they have the class="lightview" attached. The problem seems to be that by scroling you are using elements that were not on the page when it loaded. Does anyone
Help with jQuery.get()
Well... I was trying to replace the iframes use with the jQuery.get() plugin, buy I dont know hoy to do the implementation on a php function that call another page. Could someone help me? The needing is on this: <div class="newsLastWrapper"> <?php the_plogger_head(); ?> <?php the_plogger_gallery(); ?> </div> <!-- newsLastWrapper --> Where <?php the_plogger_head(); ?> <?php the_plogger_gallery();
Superfish using different categories and post
Hello there, I am using the Vina theme in which the superfish plugin is installed. The site is www.culturelekringdezilk.nl. The problems that I encounter is that the categories are in alphabetical order. Is there a way I can show categories in a different order than alphabetical? I only want to show 4 categories, so not all of them. I also would like to know if I can show a post between the categories in the navbar. I am using a contactform plugin and I want to show the post in which the contactform
Nested accordion doesn't close (willing to pay for support)
Hey.. I have a problem with the accordion plug-in and i don't have the time to look for a solution on my own. The url: http://bit.ly/ddbCj9 I have a crappy half working solution initiating a second instance of the accordion but i don't think that's the way to go. At the moment it does part of the job. The nested sub accordions open on mouseover but it doesn't close them again. I'm willing to pay for the support so leave a way to contact you and an estimation what it will cost... Thanks! Volkan
jQuery Show / Hide in a woltlab Board?
Hey guys, does anybody know to use the show / hide jquery plugin with the board-software wbb (http://www.woltlab.com/index_en.php)? I want to use it to show / hide the each categorys - please look at the signs: to make it smoother, because know when a visitor push the button, the page reload. please look here: http://yourwbb.de/index.php?hidecat=140 I need a solution for the version wbb lite 1.0.2 Here is the sourcecode from the show / hide buttons in the board - maybe it will help you: from the
jCarouselLite Help
Hey Everyone, Top of the mornin' to ya! Lol. First time for me here at the forums but I'm also very new to jQuery but love it. I have been messing with this issue now for the past two days and have had no success fixing it. I'm using the jCarouselLite plugin to for a product display on the front page of a online store. It's just a cool interactive way for users to browse products without having to click through many pages and we can feature certain items we want them to see right away. Everything
Validation Plugin and remote options
I have a question regarding the validation plugin and doing remote calls. I've looked through the API and examples but haven't come across this. Is it possible to return JSON data so I can display different messages based on data being passed into my remote script? Thanks, Ben
JQuery Cross Slide plugin onMouseOver() modification difference in ie6 and firefox
Hi All, I am relatively new to JQuery, so I apologize in advance if my questions are a bit long amateurish. I added a jquery plugin CrossSlide to my web page available at http://www.gruppo4.com/~tobia/cross-slide.shtml but wanted to make a few modifications 1.) Make it work for only one image (not transitions b/n many images) 2.) Activate the desired effect onMouseOver(). I have kind of managed to make this happen by making some changes, but the problems I am facing at the moment are 1.) Is the
FORM WITH DYNAMIC INPUT GENERATION
I have a form that uses php/mysql to create dynamically multiple input fields type=text, in fact, hundreds of them. The regular use of the plugin requires each input field to have a unique name. In my case input name is an array, example: cant[1][0]. I have made several tries but can´t get the correct way to handle my problem. I would appreciate if somebody can suggest me how to code it. Thanks a lot.
jCarousellite, how to center after a selection???
Hi, I am using jcarousellite_1.0.1.js for a simple slide menu of thumbs. I like to do the following - user slides tru the thumbs - clicks a thumb - page refreshes with the selected thumb as page - .....and now i would like the carousel to center around the selected thumb Any tips, examples?? regards
Delayed show BlockUI plugin
Hello All, I use the blockUI plugin to block elements whilst performing an ajax request or loading images. The problem I have is minor but when loading an image that has been cached it still fires the block/unblock event - creating a flash as the visual block is displayed briefly. Is it possible to delay the firing of the block element show (block) event by a few milliseconds. i.e. only fire block element event if request is taking longer than 2 seconds. I have played around using .delay but seems
Accordion not workin on Chrome & Safari
Hello, I´m just getting sick of this thing since yesterday morning. Look at this: http://test.caradepoker.com/wp-content/themes/caradepoker_v2/test.html Accordion works fine on Chrome, Safari and Firefox but here: http://test.caradepoker.com/webmig-faq-efecto simply the accordion doesn´t work. I´m wondering if there´s any conflict inside the wordpress code. I deactivated all the css and other js on this page, but still is not working on Chrome & Safari. It´s very weird, because on Firefox it works fine.
Nested error label wrapping with the validate plugin
I am using the jQuery validate plugin . My error labels are styled like tooltips and take many levels of nested divs in order to create. The plugin has a wrapper option that allows for an element type to be specified as a wrapper for the error label, but it's only wrapped once. Is anyone familiar with how to do nested wrapping? Mine is more complex, but for example: <div class="tooltip"> <div> <div></div> <div> <span class="error">error
Next Page