JQUERY DATEPICKER
The items downloaded are not the same as expected and if I download again the site is not working. This site misleading.
Live Notification with animate.css animation
Hey together, i have a small problem, but since the last week i search for a solution, but i can't find it. This is my actual code: var oldValue = null; function repeatMe() { $.ajax({ url: 'test.php', success: function(data) { $('.notifications-count').html(data); // First Load if (oldValue == null) { $('.notifications-count').addClass('animated bounceIn'); } // When data is different to oldValue show animation else if (data != oldValue) {
How to edit a JQuery Data table cell or column values for aspx?
Pls advice for the above Question.
page transition slide left
HI i have been to http://www.windowsontuscany.com they really have good website, i was wondering how the the page slide is done? wherever i click to any of the link it shows that its loading and once its load it slide left and shows the content. kindly help. thank you
does jquery prevent autopostback?
I have an asp.net page that l built it over a css/ jquery template, but there are something -that I don't know - prevent autopostback for buttons and dropdown list events.
jquery Templates
Are Jquery Templates a standard in the jquery community. if yes 1) Is the right place http://weblogs.asp.net/scottgu/jquery-templates-and-data-linking-and-microsoft-contributing-to-jquery 2) Where do i download the associated js files ? Regards Raj
Works as stand alone but not if ncluded in a page
I'm creating a template page. I am including a page called menu.php which creates a jquery vertical menu. If I run menu.php directly in the browser the menu displays and functions fine. If I included the menu.php page into my template page the menu is broken with a console message: <!DOCTYPE html> <html> <head> <title>Template</title> <!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> <link rel="stylesheet" type="text/css" href="../css/6807.css" />
Need A Guru, would like to lock a div function with a 4 digit password. How?
I created an app using phonegap and right now I have an icon <div class="spec-docs"></div> that has an openURL function that brings up a spec sheet on iOS inApp browser. I would like for someone to click on that spec sheet icon and jQuery bring up a password dialog box first, then after they enter the password, it opens the URL. After that any other div with a class spec-docs automatically open if they have already entered the password. Anyone have any suggestions?
Slider working after refresh
Hello, i have a slider at www.viviautismo.org (the one with logos below the 4 grey boxes) that only works after a F5. If i press CTRL+F5 the slider stops. The website is made with Wordpress. I thought it could be a jquery problem but all i could do was to reduce the jquery calls to the only one in the wp-include folder. i asked to the author of the plugin but he doesn't answer no more. I suppose he doesn't know how to solve. Any of you can give me a helping hand? Let me know if you need further info.
jquery mouseleave also firing during enter
I have a simple jquery code : $(document).ready(function(){ var i=0; $(this).mouseleave(function(){ $('body').append(++i+'<br/>'); }); }); This code is firing even when the mouse enters the browser window. How do I make it fire only when the mouse leaves the browser window ? This is a problem in chrome for me. Working example here : http://tapasdwivedi.com/test1/
jQuery.browser is deprecated error
I'm using jquery 1.9.0 and JQMIGRATE plugin. However I'm getting jQuery.browser is deprecated error message display in Chrome and Firefox debug console. After hours of googling I still cannot fix it. Do you know what's wrong here? Học Lập Trình Online
I Have Proble In .scrollTop ! Please Help Me
jQuery(window).scroll(function() { if (jQuery(document).scrollTop() > 310 && jQuery(document).scrollTop() < 1070)) { jQuery('html body div#top_menu').css({'z-index':'10'}); }else { jQuery('html body div#top_menu').css({'z-index':'-1'}); } }); This Is My Codes , Why Dont Work ?? Please Give Me The Correct Code
refresh the page with ajax on a social network website
I want to create a social network website. but there is a problem when the page refreshes the page with ajax. there I am using setInterval every 5 seconds. but by the time the page refreshes, textarea also comments on reloading. how to order textarea in the comments do not reload when the page refreshes? please help me !
JQuery animate and slidetoggle are very buggy and glitch often.
Hey people. I am new to JQuery, I've only done a little dabbling in the past and am now trying to build a larger program. I want to eventually turn this into a wordpress plugin but this post is not about that. I am using slidetoggle to cause an area to show up upon certain buttons being pressed and I am using animate to make sure the area that is shown is in the main focus, this is because before I used animate the area would come up due to the slidetoggle but half of the area would be off screen,
Little content slider - can't join autostart and buttons to work together
Hi everybody I've made a simply text rotator with autostart (time changing). And also I wanted to add buttons to give possibility to change it manually. But when I try to apply these buttons, there is a problem with correct display - after click current text is doubled. I can't figure out how to join it together to work Here is my jQuery code: function fadeContent() { $(".text div:hidden:first").fadeIn(500).delay(2000).fadeOut(500, function() { $(this).appendTo($(this).parent()); fadeContent();
How to check sticky text within the existed sticky list & doesn't allow them using jquery
Hello Gurus, http://jsfiddle.net/tfdbkpyo/5/ Here how can i restrict duplicate sticky with same text. I mean how to check the existed sticky text with new one. if both are same, it'll show one message "sticky already existed, u can't add another with same text" in alert box. Any help would be thankful. Thanks Satish Chandragiri
cannot get ajax sucess function to pull the response data from php script.
Hi Everyone, Simple question. I have a very very simple script to test ajax with. However I cannot get the success function to fire even though debuger shows that the response is available. Code below <!doctype html> <html> <head> <meta charset="utf-8"> <title>Untitled Document</title> <script language="javascript1.5" src="../js/jquery-1.11.1.js"></script> <script language="javascript1.5"> function getTest(t) { $.ajax({ url:"test.php", data:{p: t}, dataType:"dataString",
getJSON - how to retrieve data and images in .json file and display images in html
Hello All, I'm new to JQuery and I'm having a tough time with a problem I'm trying to solve. Using $.getJSON function, I need to retrieve the data in the .json file and display the images in a gallery. The gallery should display each image at roughly thumbnail size with its caption below it in a 3-column grid at desktop resolution. I can get the .json data to output on the HTML page, but I'm stuck after that. Any help or suggestions are much appreciated. Thanks! output so far: URL: images/image_1.jpg
Creating variables inside $each confusion
Hello, Im thinking I have a complete misunderstanding about something.Which is nothing unusual ... If I'm creating variables inside an $each loop what happens in this example. $.each($arr, function (i, v) { var $xxx = i; var $yyy = v; do something ... }); Is there more than one $xxx and $yyy variable?
Flipping Page how is it done?
Hi i visited the wacom website http://www.wacom.com/en/us/ i think the navigation can be achieved by adobe edge animate, but what i felt is very impressive to me is the page flip when i click the "About Wacom " button, any idea how they did that ? is there is any script which can do that?
How to remove undefined item from array.
I have an array of the type, myArray = [ ["string1" + variable1], ["string2" + variable2] ]; the variable following the string is based on value selected via form. i.e. var variable1 = $('input[name="var1"]').val(); var variable2 = $('input[name="var2"]').val(); How can i remove a particular array that has value undefined / .val() == "" ,from the main array? For example, in the form if variable2 = ""/undefined/not given any value by the user,
Drag and drop datalist items
Hello, i am new to JQUERY, i need to drag and drop datalist items to another panel in the page, without removing the item from the list using asp.net. any one can help me with an example?
itterating through select controls for validation
I have a web page below with some jquery to catch the submit of a form ...now in that code before i submit the form I want to check the select box combos c#p# and make sure there aren't duplicates. ie $( "#C0" ).val() + "-" + $( "#P0" ).val() is unique so $( "#C3" ).val() + "-" + $( "#P3" ).val() doesnt have the same value I was thinking I could itterate through the table and concatenate the strings 47-2694;64-2697...etc and then just check each value for a match as I go and if so alert the user
Form validation
Hi, I'm newbie on jQuery, I need to validate a form I have tried to do : jQuery(document).ready(function() { jQuery("#submit_btn").click(function() { //get input field values var user_name = jQuery('input[name=name]').val(); var user_email = jQuery('input[name=email]').val(); var user_message = jQuery('textarea[name=message]').val(); //simple validation at client's end //we simply change border color to red if empty
Event handler inside of event handler
This is php string with is echoed out: $('.$name input').on( 'blur', function(e){ $('span.$name div ul').on('click', 'li', function(ev){ var value = $(this).attr('value'); var html = $(this).html(); console.log(value); $('span.$name select').val( value ); $('span.$name input').val( html ); $('span.$name div').hide(); }); }); So I have a handler when its input loses focus
jQuery 2.1.0 | Delete variable-length substrings in delimited string
I need to delete all substrings ending with a $ symbol within a semi-colon delimited string. Sample string may look like this (spaces between semi-colon delimiters only for code clarity). Substrings are of variable lengths: dgtrs534u$hi874hbf45 ; kk4746hghf ; 86dgdhdt65jdbsgdb254sf $277dhcbh74 ; re6hdgf554 Final string should look like this: hi874hbf45 ; kk4746hghf ; 277dhcbh74 ; re6hdgf554 (these values are always same length each) I'll use code below. It's the "replace" method I can't figure out.
[jQuery] Submit a form (POST) to a Thickbox panel
I'm working on a CMS application, and want to create a preview button. What I want it to do is take the form content, pass it to a preview page which will be loaded into a Thickbox (or similar) overlay, but not submit the main form. The content of the form is likely to be too long to send as GET data, so POST will be required. Any ideas? Seb _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Image slideshow
What I'm trying to make is a slideshow of 3 images that repeats itself over and over again. Let me start from HTML code: <img src="panoramas\panorama1.jpg" class="slides active-img" /> <img src="panoramas\panorama2.jpg" class="slides inactive-img"/> <img src="panoramas\panorama3.jpg" class="slides inactive-img" /> CSS: .active-img{ height: 500px; width: 100%; } .inactive-img{ display:none; } Finally, jQuery: var currentImage =$('.active-img'); var nextImage = currentImage.next();
manage the events of mouse and selection on iframe
I have a big problem and I don't know if it can be resolved or not. I want to manage the behavior of a user in the iframe (when he move mouse or click or select a text from this iframe) but the problem that I must do some treatment in my the session of the user so I must manage the mouse events via servlets but it seems impossible . Know i'm trying to use JQuery but I'm not sure if i can get the session from the servlet and also transmit it to the servlet. please have you any idea about this problem
Need a simple function to store/get a variable/element value to/from a cookie
Hi, I have a jquiry/javascript the first line of which is : document.writeln('<div class="dc-rnav"><a href="javascript:history.go(-1)" title="Go Back">Go Back</a> | <a href="login.pl" title="This will log you out">Log out</a> | <a href="" title="" >$user</a></div>'); You would have spoted $user which does not fit there, therefore what I would like to do is to add a function to this scrip which which will get the user name from the cookie as long as the session last. I believe it will be
Page visible to specific member category
Hi folks, My site has three member categories here http://richinvestor.ning.com/members SUCCESS, VIP and WEALTH. I want to make this page http://richinvestor.ning.com/forum visible to WEALTH members only. Can anyone help me with the Jquery code? Thanks
.trigger.click button(div) in parent window without ad-block issues, HOW?
I want a button in my Iframe to click a button in its parent window. I got this to work with a few lines of code, but the adblocker blocked that code in some browsers, now I am looking for an alternative. I was thinking about something like this: the button in the iframe: Symbol.bindElementAction(compId,symbolName,"${_Rectangle }","click",function(sym,e){ window.parent.functionid (); }); the script in the parent page: <script> $(document).ready(function functionid (){ $('#u181' ).trigger('click');
how can i get the value/text of an input field embedded in a column(td) ?
hi, i have tried searching around about this topic but i couldnt find solutions so far. here is my problem, initially i have a table with only tds, when one clicks the edit button, all contents are turned into input fields but with the table contents reserved, now i am trying to get the content of the input fields when one clicks the save button. below is the initial table code: <table border="1" cellpadding="1" cellspacing="2" id="mytable"> <tr> <th>Title</th> <th>Genre</th>
$("#menu-categories").animate({height: "toggle", width: "toggle"} - Problem
Heyho! i got a problem with a selfcoded Wordpress theme in which i use JQuery for all that nice stuff. And i got a problem, where i do not know where it is nor how toe fix it. Maybe you can help me? :) First of all, the problem is here on that homepage: http://nick.jaussi.eu/portfolio/ If you move the mouse too fast over the menu (sometimes several times in a row) the menu does not slide open anymore. Or it opens half or just some pixeles. Only a refresh of the page resolve the problem temporarily.
have a problem with fullscreen in video tag
my problem is when the video is paused and i want to press play . the play on the screen is work, but the play in the bar of the player doesn't meaning is not respond . how can i fix it ? (My main goal is to go to fullscreen when user press on the play on the player so if someone have another suggestion insted of my script happy to hear) $("#my_video").on("click", function(){ if (this.paused) { this.play(); // go full-screen if (this.requestFullscreen) {
custom slider - previous next buttons not working
I am learning jQuery and this is my first project.. so sorry for any silly mistake you may found. I have two problems [1] Previous and next buttons not working. I have been trying since last 2 days! [2] Slider is not looping properly This is live url This is HTML <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Slider</title> <link rel="stylesheet" href="style.css"> </head> <body> <div id="slider"> <div id="slides"> <img src="images/image1.jpg" height="400" width="600" alt="" id="1"> <img
What are these textnode?
I am using jQuery to get all strings on my web page, I use the following code but gets a lot of objects, it does not make sense because there are only 20 strings on my page, after looking into details, I found strange elements are also treated as textnode, please see screenshot attached, do you know how i can get rid of them? jQuery(":not(:empty):visible()").contents().filter(function(){return this.nodeType===3})
SyntaxError (code: 12; nsresult: 0x3053000c) possibly with $('#id option.select').text()
I've got a change handler in which the line 6 (t = $('#Club...)) seems to be causing a problem for which I would dearly appreciate assistance and/or advice. I believe this line to be the cause because the problem disappears when I remove it. With it in place, I get the first two alerts and then the error notice. clubSelectChangeHandler = function () { var v, t alert( '001 - Entering clubSelectChangeHandler') v = $('#ClubSelectRestrictor').val()
Why is jquery dropdown menu opening when off-line but not opening up on-line on real server?
Why is jquery dropdown menu opening when off-line but not opening up on-line on real server? <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>jQuery.ptTimeSelect Sample</title> <!-- Copyright (c) 2007-2012 Paul T. (purtuga.com) $Date: 2012/08/05 19:40:25 $ $Author: paulinho4u $ $Revision: 1.1 $ --> <!-- Prerequisites: jQuery and jQuery UI Stylesheet --> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
Add to shortlist
Hi, Im trying to setup a add to shortlist script and using the following code: <script> function submitForm() { $.ajax({type:'POST', url: 'addtoshortlist.php', data:$('#ContactForm').serialize(), success: function(response) { $('#ContactForm').find('.form_result_2','.data-postid').html(response); $("#form_result2").load("addtoshortlist2.php"); }}); return false; } </script> //HTML <form id="ContactForm" onsubmit="return submitForm();"> <input type="hidden" name="id" value="12344"
Next Page