Looping through inner jquery accordion fields
Is there a way to create a loop for the <h3> and <div> statements inside an jquery accordion , so I can iterate through my JSON.
I have been posting for months and never did I get help!!!!
This forum is ridiculous I have asked for help so many time for months and never get replies am I invisible. This forum is just awful and Im deleting my account.It wont surprise me if I actually get a reply to this but never to anything relevant.
Deep option object problem
When I create a widget that has deep set object literal options, and if I try to apply the widget to multiple divs, each div contains its values and the values of all the preceding instance's values as well. e.g. $widget("test.me", { options: { subOption: { values: [] } }, _create: function() { var _this = this; $.each(this.options.subOption.values, function (i, value) { alert(value);
Please help with this slider code
I need to create a stop function. Can anyone help please? $(function () { var current = null; $("#aOne").click(function () { trade($("#div1")); }); $("#aTwo").click(function () { trade($("#div2")); }); $("#aThree").click(function () { trade($("#div3")); });
limit draggable area UI
I try to give a limit to a div not to drag out of its parent. http://jsfiddle.net/lansas/ZHtEa/4/ Any idea?
create a TimePicker with different output
hello guys, What can anybody help me? I want to customize a TimePicker, I want to be like the example below. timepicker menit Jam <input type="text" name="timepicker" id="timepicker" size="4" /> <input type="text" name="jam" id="menit" size="4" /> <input type="text" name="menit" id="jam" size="4" /> timpepicker selected on the input with id 'TimePicker' and the resulting display in the format H: i: s, then it was followed with automatic by input with id = 'clock' with format 'H' and input with id
toggleClass() isn't working properly when I combine it with hide() in this function.
I'm trying to combine these toggleClass() and hide() functions, but when they are combined the toggle function only works properly with slideDown() and isn't toggling back as it should with slideUp() I'm trying to combine this toggleClass() function: $("#fauxAccordion").click(function () { $(this).toggleClass("accordion_arrow_south"); });With this hide() function: $(function () { $(".accordionInner").hide(); $(".accordionTrigger").hoverIntent(function
function doesn't fire on click
This function is not firing or giving me an error when I click the anchor. There is a css button for the clear-completed id but the function should fire on the click in the anchor anyway. I want to collect all the ids on the table rows then send an AJAX. $("a #clear-completed").click(function(){ console.log("hello"); $('#tbody tr').each(function(){ if ($('table input:checkbox').is(':checked')) { var ids =new Array; ids += $(this).parent().find(data('itemid',item.id));
Making an image a link when using the Cycle Plugin
Hello, I am trying to figure out how to make an image a link when using the Cycle plugin. If I surround the image with an anchor tag <a href... that image will not appear in the slide show. What am I missing? Thanks for your time :) Sample of what I am doing that doesn't work where I add an <a href .... <head> <!-- tutorial from this website http://www.malsup.com/jquery/cycle/int2.html--> <style type="text/css"> .pics { height: 584px; width: 360px; padding: 0; margin:
Jquery dialog box not workin in Internet explorer.
Hi, i have created a dialog box which shows success msg to user.I am calling the dialog box through this function call:- setDialogbox('saveMultiChoiceQ','newDialogMessage', 'success', 'newDialogMessage1',succ_create_question,'','600','250',txt_success,'','',' '); and setdialog.js file consits the function. please tell me what is the error.?
Validating SharePoint 2010 DateTimePicker Control
I'm trying to use jQuery required validation with a SharePoint 2010 DateTimeControl, but I'm not seeing any type of response when I click submit and leave my control blank. Can you use jQuery validation with this control? If so, can someone tell me what I am doing wrong? <div id="preopForm"> <fieldset class="form"> ... <div class="row"> <label class="label">Presentation Date</label> <SharePoint:DateTimeControl ID="preopDate" runat="server" DateOnly="true" /> </div> ... $("#preopForm").validate({
Tabs and popup windows
I am using JQuery UI Tabs. I have a tab that open a popup window. It doesn't switch to the clicked tab or display it's content. It should just open the popup window. When you click it, it will popup the window fine. The problem is that it will switch to the clicked tab and display the current page. I want it to just open a popup window and stay on the current tab. This was working fine for jqueryui-1.8.3. Upgraded to jqueryui-1.9.1 and now running into this problem. <li><a href="#" onclick=" BigPopUp('url'')
Question about display blocks in any place of the page
Are there any plugins for jquery or how to implement functionality so that you can display in a random accident on the page blocks of a given length and height, they do not overlap?
Declare multiple var and send to PHP
Im trying to declare multiple var's and then sent them to php, i managed with only one 'var' but not when adding more This below works $(document).ready(function(){ $(".temp").mouseover(function(){ $.post('write.php', 'valTemp=' + $('#temp').val(), function (response) { alert( $('#temp').val()); }); return false; }); });What i want to do is $(".temp").mouseover(function(){ var valTemp = $('#temp').val() var valWind = $('#wind).val() var valSun =
jcycle plugin - adding a title to the cycling images
I've built a slideshow with images (with anchors) as the nav. And now i'm trying to add a caption to the main image. But it's not pulling in the text. The images and the nav are cycling quite prettily, but the <div id="caption"></div> isn't being filled with the alt text of the image. $(document).ready (function (){ $('#slideshow').cycle({ after: addCaption, fx: 'fade', speed: 'fast', timeout: 3000, pager: '#nav', pagerEvent:'mouseover', pagerAnchorBuilder: function(idx, slide) { // return selector
JQuery Mobile select menus not displaying the selected value
I am having trouble getting the select menu to display the value selected, and I couldn't figure out why, please help!! Here is the header I included: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" /> <script src="http://code.jquery.com/jquery-1.8.3.min.js"></script> <script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
how to Using ajax query database,returns more data?
i using java ,please help me
navigator.geolocation.getCurrentPosition() is not working properly in android browsers
Get Time out Exception is occurring from navigator.geolocation.getCurrentPosition() in android browsers Its Working fine in Iphone and Ipad. please help me
Direct Link to Tab with Ajax Content
Is there a method to direct link to a tab that loads ajax content?
JQM working in Google Apps Script?
I'm using the latest release to do some testing in google apps script web app. But JQM styles seem to not be rendered and I was wondering if anyone here has got this to work with it yet? Here's my code. <!DOCTYPE html> <html> <head> <title>My Page</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" /> <script src="http://code.jquery.com/jquery-1.8.2.min.js"></script> <script
Add thumb up / thumb down icons to default theme
It would be cool to have a thumb up and a thumb down icon in the default theme. :-)
Possible Bug - 1.9 Spinner Fires on F5 Refresh
I have noticed that my spinner fires if it has focus when the user presses F5/Refresh. This happens even when the user has not made any changes to the spinner value in any way and the cursor is just sat in the field. I have code in the spin stop that updates a shopping cart with an AJAX call, which is firing when the user refreshes the page. It shouldn't, and I was wondering whether I'll have to make a workaround, or whether it is a proble, with the spinner itself. Is it a bug, or is it supposed
How to obtain div properties from window.open window
Hello, Is there a way to obtain div properties from window.open window.
Navigation with JQuery UI - Draggable
Hello! I want to create for my little homepage a navigation, which is wider than the viewport. Therefor it should be possible, to drag the whole <ul> - element to the left and to the right. The navigation has got a fixed height, so the list has just to be dragged across the x axis. I managed to make the list being draggable... well thats not hard with JQuery UI. But without using the containment atribute, you can shift the whole navigation out of the viewport. For this reason I used the containment
How to use sortable plugin to manualy sort results coming from database?
Hi Guys I have a results that is read from the database using PHP. Now, I want to make somehow a way to sort the results so i can display them to the public in a way i sort them not based on the item id! So I created a new field with sorting order value. But how to I do change the sort orders using "sortable" plugin? Thanks
How to access page controls after jquery ajax post back?
I have a jquery JStree and after selecting node I use ajax to post the selected node to server. In code behind , a method get this nodeID and everything works correctly. $("#tree1").bind("select_node.jstree", function (e, data) { if (jQuery.attr(data.rslt.obj[0], "href")) { window.location = jQuery.attr(data.rslt.obj[0], "#div2"); } if (jQuery.attr(data.rslt.obj[0], "id")) { // alert(jQuery.attr(data.rslt.obj[0], "id")); document.getElementById('<%= hdFolderID.ClientID
prob
Hi.. I am new to this jquey.. I am starting with very very basic one.. I have two text box between text box i have a button called copy Once i clic on that copy button it should copy the content of textbox1 to another text box one.. solutionl please?
Jquery innerfade slider - speed wont change
Hi, I have this site here http://www.ampmgraphics.com/nolan/index.html I want to slow down the speed of the slides. It was originally set to 'normal' (being the default). I change this to 'slow' jqueryinnerfade.js file but there is no change. I have tried a variety of numbers and no change. Even when I put it really high or low it doesn't go faster or slower. Usually I don't have any problems changing the speed of sliders. The only thing I am able to change is the fade speed but I don't want this
Clearing Validation Error Messages when the control is disabled : jQuery Validation Plugin
Hi all, We have a address section which can be disabled and prefilled based on the radio button selection. The issue which we are facing is: Initially the controls are open and editable and when we click submit button on the page, the controls are getting validated and the error messages appear next to the control At this time if the user clicks the radio button which prefills the address section and disables the controls in it, the error message still appears next to the controls, which is not
I think the search icon is corrupt on Jquery UI's new website
Hi Love the new design, but that icon for search looks weird. Is it intentional?
Jquery code to validate form
I have a name field textbox which should only allow user to input only alphabets,spaces and only up till maximum of 30 characters.Can any one share some jquery code with me.That will be very helpful if u couyld provide me some code of how to do this
button name change
1) i need a button named Open with upperheaded arrow picture 2) once it get clicked it should show some data below to it 3) as well as the name of the button should get change to Close with downheaded arrow could you please help me out of this to solve this prob...
Treeview with search node options
Hi, I am new to Jquery. I need to implement Treeview with search options. Please provide me the samples and plugins available. Thanks
Popup window
Hello, since I am new to jQuery (just started yesterday) I would like to ask about window popup. I have a list of items, and I would like to make it so that when you put mouse on an element there would be a small window pop up with message delete item... what would be the best way to do that. Thanks in advance for any answers.
Ajax fileupload in IE7 Browser?
Hi, Ajax fileupload in IE7 Browser? when i upload the file using ajax file upload controls am getting the response in new window in IE7 Browser. Can you please suggest me how it can be done? Thanks!!!
jQuery UI and Ajax
Hi, i have website that retrieves his main content using ajax. The problem is that whenever i include the jquery ui library into the main page(the static one, where all the dynamic content is loaded inside a div) the ajax script doesn't work anymore. The console doesn't give any error and there're no ajax requests. The load order of the main page is: jQuery jQuery ui <html content>(including the div where the content is loaded) ajax script If i include the jquery ui script at the end of the content
cycle - activate misc function on mouseover
Hello, I'm attempting to combine malsup's Cycle plugin with Jack Moore's zoom plugin. I'm able to get both working just fine on their own. The thing is that I'd like them to work in tandem as such: - cycle cycles through image by default - if user mouseovers image, zoom activates I suppose the more specific question is - how can I add a miscellaneous function to cycle? Here's what I have so far: <script type="text/javascript"> $(document).ready(function() { $('.cycle').cycle({ fx: 'fade',
TableSorter with defined width columns
Hi, I would like to go on using TableSorter plug-in with Pager companion for formatting tables but I also have, in some cases, to defined the width of each columns. I tried to find a solution in ancient posts but failed, so here is the solution I purpose. Nevertheless, if another more elegant solution has been provided, I would adopt it straight away. In the function buildHeaders, I check if a width parameter has been provided for the column and, if it has, I set the css/width property. That is,
Multi-page definition
Dear moderators, and awesome people that have created this awesome framework for us. Back when I started the development using jQM I had trouble understanding then "Multi-page" expression. Maybe I actually still do a tad. And today I had to try and help out another guy with this. So I would like to request that you in your documentation add a small explanation of this. Thanks in advance
swfobject don't have getAttribute in IE>=9
Maybe, IE>=9 have some bug when try to access some swfobject's attribute use getAttribute. it occurs: when use $("[someAttr=someNumber]") like $("[someAttr=12345]"); when use .remove() to remove a div contains swfobject; when a div contains swfobject ,and use .draggable() on it. I tested swfupload & uploadify flash version,they show the same bug. it seems that the bug only happens when it's a swf uploader. mybe it only happens when swf bind some js callback,or need trigger some js event,or something.
Next Page