Listnav split large results
Hi, I was looking at listnav, and it seemed to be able to do what i want, except for for splitting larges results. What i need is a alphabetical paginator, for thumbs, and when there are more than 100 A's the paginator should be A1 A2 ... or something similar (sub paginator) And/Or a compress option, if number of results is small combine, so a paginator could be : 0-9 A1 A2 B-F G H I-Z
Need help with jquery slider
I am trying to create left and right navigation over my slider using jquery and the jquery cycle plugin. I am terribly new to this. I would appreciate any help and can send a screen shot of what I am trying to accomplish. Thanks in advance.
Validation of select field
I have a problem with validation of select field. Because field is automatic filled by jquery the validation script (in php) don't "see" that the field is marked/selected. If I select the field by "click" - everything is ok. but in some cases the user don't have the possibility to select this field (if finish_day is less than 4). What is interesting, when I delete the line 3 - validator works ok, but I need this line in the code - it select and change the another field. The code is below: if( parseInt($("#finish_day").val())
how can i create a button like bookmark with star image along with listview??
i want to create a button or check box with an image along with list view.I have a list of items for each item there should be a image button the image is star,i want to implement a concept like bookmark please help me out
Passing information into a form using JQuery and sharepoint
I'm using SPServices to try and take a user's email address from Sharepoint and send it to a new form field. I can get the email address without any trouble but I can't seem to get the email address put into a new form. This is the SPServices call I'm using to get the email: $().SPServices.SPGetCurrentUser({ fieldName: "EMail", debug: false }); How can I pass this into a new form field? I've tried googling but I'm brand new to JQuery as of today and I'm having trouble. I would appreciate any help.
disabling required validator and how asp:panel
I have linkbutton on a click event I would like to show asp:panel (disable required validators). here is my code. what's incorrect? <script type="text/javascript"> $("#<%= lnkbAddNewGroup.ClientID %> ") .live("click", function (event) { alert('click'); disableAllValidators(); return false; }) function disableAllValidators() { if ((typeof (Page_Validators) != 'undefined') && (Page_Validators != null)) { for (var i = 0; i < Page_Validators.length; i++) { ValidatorEnable(Page_Validators[i], false);
How to get the multiple selected values from the drop down list in jquery
Hi, <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script> <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/ui-lightness/jquery-ui.css" /> <link rel="stylesheet" type="text/css" href="http://www.erichynds.com/examples/jquery-ui-multiselect-widget/jquery.multiselect.css" /> <link rel="stylesheet" type="text/css" href="http://www.erichynds.com/examples/jquery-ui-multiselect-widget/jquery.multiselect.filter.css"
Calling function inline
I have the following function: $("#myDiv").myFunc({ initDelay: -1, delay: 1000 }); I have another function in another .js file: $.fn.setRandomDelay = function(){ return Math.random() * (4500 - 1500) + 1500; }; I want to set the delay in the first function inline. Something like this: $("#myDiv").myFunc({ initDelay: -1, delay: setRandomDelay()}); But this won;t work. Is there a way to do this?
I found a bug for jquery 1.7.1
I am a chinese ,English is not so good, I found When I with "div.select" get a dom, every time to cache, This is not to efficiency has very big effect?
Calendar Live Update notification plugin
Hello, i would like to make a plugin that listens for events triggered by the underlying php application and notify me of the changes. Lets take the following example to clarify: Imagine person a manages its events calendar which is contributable by more members than this person a. While he manages his events, the calendar is managed by person b too. Both want to add an event for the same date at the same time. While person a was faster, person b should be notified immediately like for example the
Speedo meter Jquery graph
Hi, I want to prepare the Speedometer Graph plot, please suggest the plugins and share the sample code. Thanks
zepto help pls reply
when i click this id="moreOptions" a pop should appear using zepto.js <li id="moreOptions" data-view="offline-more">Testing Options...</li> http://zeptojs.com/#Touch events <header class="app-header"> Header Here </header> <section class="card-body app-home"> <div class='logo'> </div> <nav> <ul> <li id="findAtm" data-view="locations">Find ATM Locations</li> <li id="myAccounts" data-view="login-home">My Accounts</li> <li id="moreOptions" data-view="offline-more">Testing
.live method works but .on does not in 1.7.
I read the following : As of jQuery 1.7, the .live() method is deprecated. Use .on() to attach event handlers. Users of older versions of jQuery should use .delegate() in preference to .live(). However in case I was using the .on method things did not work anymore. I do create div elements using the clone method, and have a remove function to remove them from the DOM. This works .... $('.aclass').live('click', function (e) { } This does not $('.aclass').on('click', function (e) { } I will be be
tablesorter filter by cell attributes
Hi, Is it possible to sort or filter a column by its cell values or by other data attributes and not by its contents? Thank you.
New plugin
Hello all, I've been developing a piece of JavaScript for quite a while now and have been recommended to turn it into a jQuery plugin. What's the procedure for doing that - what's the first step? Do you write the code on your own site first, as a jQuery plugin or do you submit the conventional JavaScript somewhere? Thanks in advance, Kind regards
Jquery post timing issue
Hi, My problem: I have 2 functions like this: function submitForm() { // submit form } function doPost() { // do a post } function Login() { doPost(); submitForm(); } So my problem is that the doPost() function doesn't get properly executed, it only works if there is an alert function in it. I tried using the success function of the post to execute the submitForm() function, but it also didn't work properly. Can somebody point me in the right direction. I appreciate any help. Thanks, Erik
jquery round corners all around
Hi I am trying to put round corners on a slider div. But so far I am only getting one round corner <script type="text/javascript" src="../js/jquery-1.7.2.min.js"></script> <script type="text/javascript" src="../s3Slider.js"></script> <script type="text/javascript" src="../js/jquery.corner.js"></script> <script type="text/javascript"> $("document").ready(function() { $('#s3slider').s3Slider({ timeOut: 4000 }); }); $("document").ready(function(){ $("img, li,a").corner() }); </script>
Image Fade in , Audio Load, Movie load, Redirect with JQuery and HTML5
OK so that was a mouth full. I have previous use this forum and with the help of it members mad some really great stuff. ( Thanks Jake) So this is what we are working on now..Basically we have all the elements working but i want to add another and I am not quite sure how to do it so any help would be appreciated. Basically I want to add another image fade in before the redirect function kicks and redirects the site. Here is the code: Thanks in advance.. <script type="text/javascript"> var
possible duplicate div.ui-controlgroup-controls being created via controlgroup()
Not sure if this qualifies as an idea or a bug: In debugging an issue we had with the display of controlgroups, I noticed that controlgroup() inserts a <div class='ui-controlgroup-controls'> into the element without checking to see if it's already been added. So if you had a situation where controlgroup() was called twice, you would see funny display formatting. (fwiw, in 1.0.1 there's a check first to see if the heading exists before the div is added.) We saw issues when we upgraded to 1.1.1.
disable button
i am trying to add a property of "disabled" to a button using .prop (instead of .attr, i learned it should not be). here is what i have: http://jsfiddle.net/AdJXH/
Organizing tests in groups
When you have lots of tests, there are situations when you want to run only a subset of tests, e.g. when TDD'ing, or when you are fixing something in a restricted part of your project. To help with organizing and running subsets of tests, I developed QUnit Test Groups. The idea of this addon is to provide a way to organize the tests files in an hierarchy, and automatically render an outline where clicking a node will run all tests from that node to the bottom in the hierarchy. Please take a look
Animation with jquery - callback problem
Hello everyone! I am preparing web-presentation and I would like to use jQuery animation to move some content. This animation consists of sequence of actions. Here is the code of script: <!-- Script moving elements of animation --> <script type="text/javascript"> var speed=2000, txt=""; function animacja(){ $('.firstArrow').animate({top:-70, left:650},speed, function(){ $('#refreshImage').fadeOut(500, function(){ $('#refreshImageGreen').animate({ transform: 'rotate(180deg)'},
replace MySQL á
Hi, I have a lot of text saved as html in a MySQL database. I would like to replace some of the paragraphs, but I have words and vowels which are like this: á that in MySql is saved as á and it's difficult to replace. Do you know how to do this? regards
Tablesorter 2 reports a javascript error if no rows in table
I have a dynamically generated table and if there is no data in the table, I like to just show the table header - however, without a row in the <tbody></tbody> section, I get an error in the javascript about node n[0] Enuuk Programmer http://www.rwapservices.co.uk
change dinamically HREF of sj:fieldtext
Hi I may change the value of href property of <sj:textfield> with a script (jquery or js is the same). This is need for make an async. http request e get the response in the same field. The call is good, the answer json i good, the result is good. The problem is that I can't update Href with new values. The code... <s:url id="AA" value="actionAsyn"> <s:param name="eta" value="123" /> // this is the value I want dynamically change </s:url> <sj:textfield dataType="json"
Ajax call fail when I can trying to pass the special characters as data..
This is the code I am using to add a comment using Ajax call. <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1"/> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.css" /> <script type="text/javascript" charset="utf-8" src="js/cordova-1.5.0.js"> </script> <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> <script src="http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.js"></script>
IE9 Alert Box Not Showing Data, Works in IE8?
Why does this Alert box work perfectly using IE8, but shows nothing using IE9? Also, data.length never shows anything in Alert box! $("[id$=txtData]").blur(function(event) { var data = $.trim($(this).closest("tr").find("[id$=txtData]").text()); alert(data); }); <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="900px"> <Columns> <asp:TemplateField HeaderText="Id"> <ItemTemplate> <asp:TextBox ID="txtData"
Selectors: How can I select this Box ?
Hello, it drivs me crazy, that I don't know how to select this element. I got a HTML-Code like this: <div class='blogbox' id="4"> <div class='blogdate'>16.July 2012</div> <h2 class='blogheadline'>Title</h2> <div class='blogtext'>Previewtext</div> <div class='blogimage'> <img src='images/Blogimages/asdf.png' width='140px' height='140px'
Rating control
Would it be an idea to create a mobile rating control which shows up as 5 or 10 stars?
Displaying a div when hovering over a button
Hello, I am new to jQuery and my goal is to display a div containing content when a button (to the side of the div) is hovered over. To a further extent I want to not only display the div but cause the function that is already running (one that rotates through displaying my 5 divs) to stop, so that only the div from the hover button is displayed. Hopefully this makes sense. I do have some code I am working on that I can share.
My focus() doesn't seem to be working....
I have a <input type="text".....OnChange="fixdateformat" id="birthdate"> function fixdateformat() { var dait,month, day, year; dait=Strtrimchar($("#birthdate").val(),"/"); var daitlen=dait.length; if (daitlen != 8) { alert("Invalid Format: Must be MM/DD/YYYY or MMDDYYYY. Example: 01/01/2012 or 01012012. Please Re-enter."); document.getElementById("birthdate").focus(); or .$("#birthdate").focus(); } else { month=dait.substring(0,2);
using $.mobile.loading inside pagebeforechange event
All, I've developed a small app that's capturing "pagebeforechange" in order to update the DOM whenever the user presses a tab. My purpose in capturing and processing pagebeforechange was to allow me to update only part of the DOM (via loaded JSON data from an AJAX call) while leaving the rest of the page untouched. The idea was taken from an example I found on the web where the author dynamically updated their DOM whenever certain URL's were seen in an <a href> element. For the purposes of my very
Autocomplete cache problem
Hi, I am having a problem with jquery autocomplete. My autocomplete should work as follows: When I click one image, the search box should list down all the items related to that image and when i click second image, search box should list down all the results related to the second image. I have set max items to be displayed as a list in search box is 10. When I click on first image, I am getting 10 results related to first image. And when I click on second image and type something that is not in the
help on onclick function
Hi, I have 4 images and when i click on one image it should be covered with blue colored box (to indicate that it is checked), and when I click on another image, previous image should get the previous status and now the current image should appear checked with blue colored box on it. could any one please suggest me how to do it. Thanks a lot.
jQuery 1.7.2 - Select menu option mouseover shouldn't display preceding image in list
Stuck here with sorta dilemma, I use this code to allow display of images in div via mouseover of select menu option: $("#selectMenu").on("mouseover change", function() { oScroll2.tinyscrollbar_update($(this).val()); return false; });Line 2 of code scrolls the appended images contained in horizontal ul li to an anchor (Tiny Scrollbar figures that out) set by value of select option. There are currently 11 anchors for 11 images, but this will grow. Anchor 1 is option value="1" (for first image);
How to override extended functions
Being a former flash developer, it seems I have been spoiled with certain keywords and concepts. I am trying to override a method from another class that I have extended without using prototype. I am not using prototype because every time I use it, I cannot access local variables (even with getters and setters) locally, which I kind of understand. My other goal is to have local and global variables link to be same variable when I updated locally or from a parent class. I have shortened these classes
jquery scrollTop
Does anybody tell me why this code doesn't work? frames[i] is the frame where the element is (a span element). I don't understand what's wrong: $(frames[i]).animate({scrollTop: $(el).offset().top},'slow'); regards
external file
Hi, I am trying to put my code into an external file so i can use it in multiple pages here is the code: (function(){ // back to top var button = $('#back-top'); button.hide(); // fade in button $(window).scroll(function(){ if ($(this).scrollTop() > 600) { button.fadeIn(); } else { button.fadeOut(); } }); // scroll body to 0px on click $('#back-top a').on('click' , function(){ $('body,html').animate({scrollTop: 0}, 600); return false; }); })(); it works fine normally, but when put into an external
Problem with play() function
Hello I wrote a mini-game in "plain" jQuery and wanted to add some sounds. I used HTML5 and <audio> tag with js play() function. It works but in some browsers (yes, I'm talking about IE, but also Safari on PC has this problem) play() function is not working, and, what's is worse, crashes a game a bit, since it's the "Object doesn't support this property or method". Is there any way (maybe an "if" statement) to check if the browser can use play() function and if not tell it to avoid this part of code?
reference to asp.net button not working
Hi all, I am new to jquery so sorry for the silly question. I am not able to make a working reference to buttons inside an asp.net page Here is my page <%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplicationTest._Default" %> <asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"> </asp:Content> <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
Next Page