Sorry but I need you to please bell me out again
I have this: function getRequestDescriptions(requestCategory) { $.ajax({ url: 'getRequestDescri.asp', dataType: 'json', data: { requestCategory: requestCategory } }) .done(function(descriptionInfo) { // get number of items in array given by asp var Desc_count = descriptionInfo.length; // start an array to hold re-arranged buildings array var newDescriptionInfo = []; // loop request descriptions for (var i = 0; i <
ThemeRoller 1.4.2
Hi, Is there an ETA to get ThemeRoller up to 1.4.2? Also aside from these two issues, is the 1.4.1 theme 1.4.2 compatible? https://github.com/jquery/themeroller.jquerymobile.com/issues/178 https://github.com/jquery/themeroller.jquerymobile.com/issues/180 Thanks so much! ~Red
form text input array
Hello, I have litte script who want validate Here simple: <form id="formid" action="" method="post"> <input type="text" value="" name="number[]"><br> <input type="text" value="" name="number[]"><br> <input type="submit" id="submit" name="submit" value="submit"> </form> $(document).ready(function () { $.validator.addMethod( "regex", function(value, element, regexp) { var re = new RegExp(regexp); return this.optional(element) || re.test(value); }); $('#formid').validate({ // initialize the plugin
Organic tabs has stopped working
In December I began using the organic tabs plugin as featured on this site. I have been without a computer for over a month so I'm not sure if Firefox had a recent update and if that's possibly the cause for the plugin no longer working. Here is the page I'm using it on. Clicking on the tabs does nothing in Firefox or Safari. I'm not sure about other browsers. Is there an updated version of Organic Tabs, or does the code need to change? Thanks in advance. Below is the code for about.html: <html>
Help with magnific popup plugin
Hi, everyone. I recently installed the magnific popup plugin, and I'm having an issue with the popup gallery. Why does it work perfectly fine on this dummy page, but not on this one? What changes do I need to make? The code is the same, though sketch.html is placed in a subdirectory called "art." The dummy/test page is located in the root folder. Any help would be appreciated, thank you. Here is the code I'm using in the "sketch" page. <html> <head> <link rel="stylesheet" type="text/css" href="/style.css"
Cycle plugin prev/next modification
Hello, I'm using the 'old' cycle plugin and I have a nowrap slideshow with prev/ next controls like so: <div id="prev"></div> <div id="slideshow"> <img src="01.jpg"> <img src="02.jpg"> <img src="03.jpg"> <img src="04.jpg"> <img src="05.jpg"> <img src="06.jpg"> <img src="07.jpg"> <img src="08.jpg"></div> <div id="next"></div> The reason for this is that I wanted to have the whole div (50x600 px) clickable instead of just an arrow png I'm using as navigator. So it's two empty divs with a background
what is the difference between .find.('ul:visible') and .find('ul').is(':visible') ???
Hi pls check this fiddle http://jsfiddle.net/TTm2q/ both are checking whether the "ul" is visibile or not right?
jquery with animation..
Hi, I created the table with animated, the table i created is like this sample... <table width="95%" id="table" class="slideLeft " align="center" border="1" cellpadding="2" cellspacing="0" bordercolor="#ff8c00"> <tr></tr> <td></td> <tr></tr> </table> In jquery I wrote for animation like this... $('table.tableSorter.slide').tableSort( { sortBy: ['numeric', 'text', 'text', 'numeric', 'numeric',
IE issue with dialog and datepicker when a dojo datagrid is on the same page
NOTE: Test case is included, rename it to html or htm to view. Edit 1: Updated issue information per my first reply. I'm not sure if this is a dojo or jquery issue, but will try to provide as much information as I can to figure it out. I can transfer it to a bug report if deemed valid. The error seems to be related to the 'open' method for the dialog and datapicker. This may affect other UI elements but these are the only two I've actually tried right now. Last known version issue was not present:
jQuery Mobile with the new Effeckt.css transition library
Hello, Has anybody tried combining their jQuery Mobile apps with the new Effeckt.css transition library? http://h5bp.github.io/Effeckt.css/dist/ In essence, all one would have to do is replace jQuery Mobile's `data-transition="foo"` with `data-effeckt="bar"` right? Thanks! Frank
Problem in Accordian menu
<div id="celebs"> <ul> <li><a href="">link name</a> <ul> <li>link</li> <li>link</li> <li>link</li> </ul> </li> <li><a href="">link name</a> <ul> <li>link</li> <li>link</li> <li>link</li> </ul> </li> <li><a href="">link name</a> <ul> <li>link</li> <li>link</li> <li>link</li> </ul> </li> </ul> </div> $('#celebs ul li ul').click(function(e){e.stopPropogation();})
listview be override when changepage and back to page before
Guys,i have problem in listview. I set listview data from json.. The list view successful show.. But when i changepage and back to page listview.. the listview override data in list.. so, when i try again it's be override data again.. there is solution for this listview guys? Help...
Result of Calculation to ASP EditItemTemplate Control TextBox
I was having trouble with Javascript, in IE11, Windows 8.1 accessing textbox controls in the EditItemTemplate of an asp webform. A suggestion was made to try the following code. While I am able to access and view (via "Alert") the contents of text boxes, I now need to populate another Text box in the EditItemTemplate with the result of the calculation. Thank you for your assistance. <script src="//code.jquery.com/jquery-1.9.1.js"></script> <script> function GetEditTextBox() { var Count1 = $(".CountTxt").val();
jQuery UI dialog template and jQuery Validate
Hi all, I am working with MVC 4, jQuery UI and jQuery Validation. Also knockout but thats not an issue. My problem is that I can get the validation to work on the view. But when I open the jQuery UI dialog as a template and have some input fields there, the validation doesn't seem to trigger. Here is my code - what am I missing? Is it scoping? In that case how come Knockout is working? @model App.Models.RegisterModel @{ ViewBag.Title = "Home"; } @section featured { <section class="featured">
thumnail images not fadetoggling but enlarging to original size
Hi I have just started learning jquery so please help me out here. I have a group of images under div's eg.2012images,2013images etc, all these div's are wrapped in a wrapper displayed as thumbnails at the bottom of the page. What I want is when the user clicks on 2012images ,these images should all display in the center of the page as a large image as a FadeToggle and stop at last image. I have written the code as such: <style> .enlarge{ width:75px; height:75px; position:absolute;
Unable to select right radio button
i want to select a radio button by its class and its value. As value of some groups have same value they are zerod to same option button. code am using: if($("input[value='<%=ans[i]%>']").hasClass("q<%=i%>")){ $("input[value='<%=ans[i]%>']").prop("checked",true)
jquery like handwriting
I need a jquery which works like this link http://codecanyon.net/item/jquery-handwriting/full_screen_preview/6354107 Let me explain, what i want is, if dynamically a word "development" or "विकास" or "ترقی" or "хөгжил" is provided then it will show how we used to write this word through pen like effect.
what are the major differences between filter() and find() methods?
i know how to use them but iam a bit confused about thier priorities and differenences between them? and which wchould be used in which case?
How to turn jQuery plugin into a WordPress one - Turn.js / Booklet
hi, i'm italian so sorry for my bad english!!! my question is very simple. I'm trying to implement this guide: http://www.jdmweb.com/resources/jquery_to_wordpress_plugin for this jquery plugin: Turn.js and Booklet my prolem is ho to know the dipendecies of this plugin. This thing is important to insert in the int.php the right code. can some one help me? Thanks nonchiedercilaparola
Using ajaxSubmit with powerTip to upload files
Hiya: I am trying to use pop-up box to select a file which then gets updated. I've done a test case here: http://clickcreations.com/ben.php I can read other form fields (for example, $_REQUEST['pk']), but the $_FILES are not being registered as set and I can't see an error or the file name. It looks like they just aren't being sent. If I make the form visible (so it doesn't pop-up) it works fine it is just as a pop-up form that it doesn't work. Anyone with any ideas on what I can do to get this
confusion in selectors....
$("p span:first").css("background-color","yellow"); this means select every first 'span' element in 'p' elements....but why its only selecting just first 'span' of first 'p' element?
Problems with #page2 menu
Hi all! I have a problem with my code. When I click on "Starta nytt spel" I get to "Page 2". But in "Page 2" I can´t go forward from the menu and click on this: (Page 2 MENU): "Sök spelare" (link to PAGE 6) "Facebook-vänner" (link to PAGE 7) "Slumpad spelare" (link to PAGE 8) "Min familj" (link to PAGE 9) Please, help me :) Thank´s! Here is the code. Watch the BOLD text :) <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>LIFQuiz</title> <link rel="stylesheet" href="LIFQuizwhite-blue2.min.css"
understanding the scroll event
Hi, I see some animations which its occurrence depend on scroll bar to down or/and to up, and measure the current scroll bar position when scrolling occurs, I wana know when should I use jquery plugin to excute that?, how to getting start in dealing with scroll event? Thanks
How to change ul list items from another onclick with jquery??
Hello, im starting to study jquery and im trying to show my second list of items when i click in "show more links", but im not having success. Can anyone give some help? <footer id="footer-container"> <section id="footer1"> <ul id="showfirst"> <h1>Links</h1> <li><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li> <li><a href="#">Link 3</a></li> <li><a href="#">Link 4</a></li> <li><a href="# id="next">show
Keyboard navigation with menu - scrollbar stealing keyboard focus
First time poster here. I have been using jQuery and jQuery UI for a couple years now and love them both. I was trying to use the jQuery UI Menu in my ASP.NET application. After I created a nice looking menu, I realized that the keyboard navigation did not work. Then I went to the Menu demo page on this site (https://jqueryui.com/menu/), and saw that it wasn't working there either in any browser I tried. I opened bug 9862 about this issue. It was closed almost immediately because the iframe containing
code from Jquery cookbook help- number input validation
I used this code from the jquery cookbook. It works too well in a sense. It does not accept any invalid input. However, I would like to give some feedback- a text message next to the box when they enter invalid code. I wanted to .after a span text warning but can't seem to find a good place to include in this code. Any help would be appreciated. $('.onlyNumbers').bind('keydown', function(event){ // keyCode for the key pressed var keyCode = event.which;
Change <img> tag using .prop
Hello Everyone, I am not sure what is wrong with this code but I would like to know so that I can continue to learn. What I am trying to do is to change the <img> tag attributes using jQuery when the css stylesheets change at break points with media queries. So the css sheet changes and at the same time I wast jQuery to change the <img> tag attributes. Here is the jQuery code: The starting size of .content is 467 but when the stylesheet changes at a media query break point the new size of .content
Show hide divs based on radio selection
$(function() { $("input[name='cst']").change(function(){ var ChoiceSelected = $("input[name='cst']").val; window.alert(ChoiceSelected); if (ChoiceSelected === 'CourseName') { $('#CourseChoiceName').addClass('show').removeClass('hide'); $('#CourseChoiceNumber').addClass('hide').removeClass('show'); } else (ChoiceSelected === 'CourseID') {
Deep jQuery.extend modifies the target's protype?
After running the following code, parent.deep.y returns "baz" even though parent is the prototype of the target. var parent = { deep: { x: "foo", y: "bar"} } var target = Object.create(parent); var source = { deep: { y: "baz" } }; $.extend(true, target, source); I expected parent.deep.y to retain it value of "bar". Can someone please explain why is it that a deep $.extend modifies the protoype of the target?
Can someone please help me clear my doubts?
Greetings Experts, I have this script: <script type="text/javascript"> function CallService() { //Creating an object to hold token form field myToken = new Object(); myToken.Token = $("#token").val(); //Creating an object to hold form fields myData = new Object(); // Creating variables to hold data from textboxes. First building associated details myData.Address = $("#Address").val(); myData.CallerAcctNum = $("#CallerAcctNum").val(); myData.CallerAddress = $("#CallerAddress").val();
On Jquery 2.1 ajaxStart is not firing
I have a ASP.NET MVC 4 where I've used Jquery 1.8.2 and on many pages I use Ajax and I have add this source toi show a wait image when Ajax is running .. <script type="text/javascript"> $(function () { $("#busydiv").ajaxStart(function () { $(this).show(); }).ajaxStop(function () { $(this).hide(); }); }); </script> Now I use Jquery 2.1.0 and this not run... Any suggests ?
jQuery Mobile and Android Webview cant change Page
Hi, I have a big problem with jQuery Mobile and Android Webview. I have three html files and in each file there are different pages: index.html #login #register #pwreset main.html #latestchats #friendlist #chat #friendinfo option.html #profil #options (the words with the hashtags are the pages inside the html) So, when I log in, I switch with $.mobile.changePage("main.html"); to the main.html file with the #latestchats page. Now I will change to my profil using $.mobile.changePage("option.html");.
Trying to modify accordion menu for full bar clickable
Been trying my darndest this week to get this accordion menu working like I need it to and no luck so far. Right now on the mobile menu you can click the + for the submenu to drop down. My desired functionality is that a user can click the entire menu title for the submenu to drop down, and not just the + sign. The url I'm working on, if you have a mobile dev device or mobile emulator is http://fastgateopeners.com Here is my current jquery (function (jQuery) { jQuery.fn.extend({ accordion:
DatePicker Default Date
Hi all I have two datepicker objects on my page to represent arrival and departure dates. The Arrival Date picker is set to be a default date which comes from the database (its a dynamic event date that changes depending on which event we are looking at). Everything works fine however I have discovered that if the event date lands on the 1st of the month, the user cannot select a previous date. How can I get round this issue as I believe I have to use MINDATE parameter in order to set the default
Drop not rejecting invalid elements
Hello, Im using the jquery ui drag and drop. The accept doesnt appear to be working. It's not even working in the jquery ui demo. Ive tried in Chrome, FF and IE Thanx
Form validation working but not submitting
// validate the form on submit this.submit( function( event ) { if ( validator.settings.debug ) { // prevent form submit to be able to see console output event.preventDefault(); } function handle() { var hidden; if ( validator.settings.submitHandler ) { if ( validator.submitButton ) { // insert a hidden input as a replacement for the missing submit button hidden = $("<input type='hidden'/>").attr("name", validator.submitButton.name).val( $(validator.submitButton).val() ).appendTo(validator.currentForm);
implement bubble thing around the text entered in search like facebook theme
Hi I am trying to implement like facebook theme using tokeninput from jquery but here i dont want to use url and instead of url i would like to use user entered text as input and add bubble thing to the text.Any idea how can i do this.
Really need your help so badly.
Hi! Thank you for taking the time to read my post. I'm now incoming fourth year of BSIT program and we are required to make a thesis to be able to pass the course. May I ask some suggestions, what application can I do in jquery mobile which is simple but innovative? A program which is capable to do even the beginners. Because jquery mobile is new for me and I really want to create an application using this software. Please guys help me. I really need your HELP so badly.
JQM 1.4.0 inside tabs widget markup loop
In Joomla 2.5 developing a component using JQM 1.4.0, JQ 1.11 got a real headake to shoot the problem: with Joomla SEF disabled the following code works fine. When enabling SEF it causese infinite loop of rebuilding content markup and finally page hangs the browser. I could not find any reasons for this behavior because all logs are empty so no errors are present. When changing tabs widget to Collapsible - all works fine anywhere. the following code causing the problem <div data-role="tabs" id="tabs">
[Problem] Page keeps refresh when passing URL Parameter with page id if that page includes a TAB Widget
http://127.0.0.1/mains/popup?query=hello#123 <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" type="text/css" href="/MON/css/jquery.mobile.icons.min.css" /> <link rel="stylesheet" type="text/css" href="/MON/css/mobile.css" /> <link rel="stylesheet" type="text/css" href="http://code.jquery.com/mobile/1.4.0/jquery.mobile.structure-1.4.0.min.css"
Next Page