• Slider with another slider isnide

    Hi there Can anyone help me with this? How can I add slider inside slider. I whant normal big slider and in the bottom of this slider I whant creat brand carousel. Is there any library for it? Or simply I creat two separate sliders and using css I add position to this first one?
  • So simple $_GET doesn't work

    [GMAIL] I sent an email by Gmail and read the link as show in the following: [GMAIL INBOX] http://localhost:8080/king/index.php?keys=39jf39jf3j3jf39j ============ king/index.php $(document).ready(function(){ alert('try') <?php $keys = $_GET['keys']; echo $keys; ?>
  • Disable Radio Button and textbox on Form Load

    I have a form and want to disable some fields when form loads. So if Radio button was checked before the form was closed by a user, then disable those that Radio  button when the same user reload the form. A save button attached to the form must also be disabled.  When the user make changes by clicking on another radio button, then enable save button for submission . Any help will be appreciated
  • Jquery validation check for input id based on label reference

    Hi , I am new to jquery and would like to know how do we check whether the input field has got an id or not..also whether the label reference is matching the input id?Please help me to do it. Right now the input id and the corresponding label reference are passed to the hidden value without any validation check <html> <head> <script src="https://code.jquery.com/jquery-1.10.2.js"></script> </head> <body> <form id="web2lead" action=""> <div> <label for="txtName" class="addtocomment">Name </label> <input
  • Unable to keep hide() or show() on page load

    Hello, I am having a bit of a problem,I have 1 dropdown menu which has data coming from PHP. When there is a selection on that dropdown menu, it should either activate the show() or hide() function for the other inputs or dropdown menu below it. It works great at the moment but if I reload the page and the dropdown is already set to the required selection, the jquery script is not hiding or showing the other blocks. How to get jquery to act on page load please? Here is my code:     <script>      
  • Jquery animate help!

    Hi! I'm really new in this amazing jquery (I'm graphic designer) and I really need HELP! with this: I'm trying to use a simple left - right scroll with a simple buttons left-right to move a wide image( in this sample my image have width: 5599px  height: 440px) inside a bootstrap model so far after days and days of searching I do the script above, now I'm felling I'll lose my last hair trying this working so, this are the facts: 1- My scroll bar was made with css because (I don't know why the standard
  • Problem with masonry jquery + ajax

    Hi everybody, I have problem with masonry jquery plugin. I have TGP adult site where i using this plugin with ajax. If you open my website in the browser first you can see 20 galleries after rolling down start working ajax where reads next galleries but does not display them. Can somebody help me where is error ? my site: --- thanks for help. Marian
  • Is there an onclick handler to open an accordian from a separate link

    I have a page with several accordian sections. I want all of the accordians closed when the page loads, then I have a drop-down menu that links to each accordian section, this part I have working correctly. Now I want the specified accordian to open when I click the link in the drop-down menu. I found one solution that sort of worked, but it messed up the css (the color scheme completely changed for the specified accordian) and it prevented the accordian from closing onclick (which worked prior).
  • Datepicker dd.mm.jjjj no longer works (link to datepicker-de.min.js seems broken)

    This link seems broken: http://struts2-jquery.googlecode.com/svn/trunk/struts2-jquery-plugin/src/main/resources/template/i18n/jquery.ui.datepicker-de.min.js Therefore our datepicker no longer works (it automatically selects mm/dd/jjjj and cannot be overwritten manually)
  • Why is my attempt to use a jQuery UI Dialog failing (not initially hidden, remains glued to the bottom of the page)?

    Using the idea here as a "proof-of-concept" before replacing the html with my own, I added that html to my Index.cshtml file (ASP.NET MVC app): <div id="dialog-message" title="Important information">     <span class="ui-state-default"><span class="ui-icon ui-icon-info" style="float:left; margin:0 7px 0 0;"></span></span>     <div style="margin-left: 23px;">         <p>             We're closed during the winter holiday from 21st of December, 2010 until 10th of January 2011.             <br /><br
  • How to Use in jQuery the PHP session variable set by Ajax.

    As for two general PHP files, no big deal to use the session variable if 'session_start()' is declared at the top. session_start(); $_SESSION['name']; --------------------------------------- But in jQuery, how should I use the session in index.php? The var name doesn't work at the end of codes.   [index.php]------------------------------------------------------------------------------------- <?php session_start(); } ?> <!DOCTYPE html> <html> <head> bla bla <script type="text/javascript">        
  • How can I append html to an ID'd element (why isn't .append() working)?

    I want to append some html to an element; so far my failure is so catastrophic as to make Napoleon's battle at Waterloo seem like a roaring success by comparison. Before adding it to actual code, I tried fiddling around first with these variations on the theme, based on what I got from here, but it's not working. What am I missing/doing wrong? The HTML from the fiddle is: <h2>REPORTS TO BE GENERATED</h2> <table style=\ "width:100%\">   <tr>     <th>Report Name</th>     <th>Unit</th>     <th>Generation
  • data:image displays image incorrectly on smaller screen

    I got this snippet that loads 2 images with data:image. However, it only works correctly if the image is shown at 100%. But with a smartphone, images will be resized which results in an incorrect display. You can see for yourself (change ur browser window to a smaller size and select a color): fiddle.js So my question is: Is there a way to maybe a way to 're-load' the image that checks the window scale / viewport or such? And so, what the right way to do this?  
  • How can I get a jQuery alert to display html?

    I'm passing html from my server Controller method back to the Ajax call, but it's not displaying as html. This is the client code:     $("#btnViewList").click(function () {                         $.ajax({                             type: "GET",                             url: '@Url.Action("GeneratePDFOfReportFutures", "GenerateScheduledRptsPDF")',                             success: function (retval) {                                 alert('pre-success from btnViewList');                    
  • Button name show on newly created row

    Dear All Below is my code for dynamically add delete rows. i want to put the name of button on my first column what should i do to do this. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script type="text/javascript" src="jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function () {     function addRow() {                 var html = '<tr>'
  • first radio button "activ"

    i have tried: jQuery( document ).ready(function() { jQuery('.product-field-type-S input').filter(':first').trigger('click'); }); ...in template/ js/cmsmart.min.js. it works not everywhere: Normal (work): Standardsortiment : Rosenstrauss in Rot iFrame (not work): http://blumen-gmuer.krt.ch/index.php...w=1&format=raw
  • Jquery Submit Validation Not Posting

    Hello all, I've customized my form to validated the required fields but it doesn't submit even though all fields are filled in correctly. From my understanding, the jquery.validate.min.js blocks it from being submitted. Does anyone know why my form doesn't submit? The code is below: <head>     <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>     <script src="http://jqueryvalidation.org/files/dist/jquery.validate.min.js"></script>     <script src="http://jqueryvalidation.org/files/dist/additional-methods.min.js"></script>
  • Using getDynamicElement with <Br/>

    I've gotten this line of code to work, but when I add a <Br/> to format my field below it doesn't work. My Field: changeElementDescription("Have you been accepted in<Br/> your program of choice?", "You must be accepted into the college program of choice in order to apply for academic sponsorship.", "acceptanceProgram"); $(getDynamicElement(Have you been accepted in your program of choice?')).change(function(){    var currentSelection = $(getDynamicElement('Have you been accepted on your program of
  • Dynamic jQuery Validation

    Hi, I am using below code to populate the customer address from the database and assinging the ID from the database so it will be unique id="radioAddress<?php echo $savanna_mysql_row["customer_address_id"]; ?>" Now I want to a validation rule using jquery validation like this; radioAddress1: { require_from_group: [1, ".customer_address"] }, radioAddress2: { require_from_group: [1, ".customer_address"] }, Knowing that there is no fixed number of addresses for the customer and it can be from Zero to
  • Jquery Disabled Dates next working days not showing

    Hi, I am using the below code for displaying datepicker with disabling friday, Saturday and max date: 2 days, but it should show next 2 working days after disabling days. Code: <!doctype html> <html lang="en"> <head>   <meta charset="utf-8">   <title>jQuery UI Datepicker - Restrict date range</title>   <link rel="stylesheet" href="http://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">   <script src="http://code.jquery.com/jquery-1.10.2.js"></script>   <script src="http://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
  • Autocomplete with JSON data source not working

    Greetings experts: I have some C# code that's generating some JSON by building up a string.  When I visit the page (http://myServer/index.aspx) from a client, the following is displayed: [ {"label": "James Smith", "value": "12345"}, {"label": "Peter Smith", "value": "23456"}, {"label": "Sally Smith", "value": "34567"} ] (there are actually about 10 sets of labels/values, but they all follow this format) and examining it using Chrome's Developer Tools reports it as a series of objects.  I've put it
  • jquery-ui 1.11.4 is not clean on JSLint

    The jquery-ui js minified version downloaded from jqueryui site is showing 7 errors when executed against JSLint. Can you please mention whether these errors can be safely ignored before using jquery-ui js ?
  • JQuery Sortable UI with MySql

    If anyone could help, I have worked hours on this and am still a little lost. I have implemented http://camohub.github.io/jquery-sortable-lists/ into an app I am bulding.  While I can get the static HTML to work  I am having problem building it from a database. Does anyone know of a class or function I could apply to this that would either support a Nested Set Database structure or a Adjacent ordered structure. any help on building this <ul><li> structure from a database that would work with the
  • overlay 2 images(+@ images) and wizard (PNG)

    hi all friends i need make a wizard with PNG Images, something: 1) the start image is a door: http://postimg.org/image/nhz8cwmvl/ 2) the second images are:  http://postimg.org/image/58nzxihxt/  or http://postimg.org/image/6lg4kcjip/ user choose 1, and too choose where is the image at front or back(of the Door, first image), 3) next step user choose: http://postimg.org/image/yzuf4zuc1/  or http://postimg.org/image/yc32pt3rl/ and tooo choose if was at the front or back... and so on.. i try:  http://jsfiddle.net/pmy1nmuy/16/
  • DIV center is not workin

    Dear All http://stackoverflow.com/questions/210717/using-jquery-to-center-a-div-on-the-screen I am using following code from above web page (function($){     $.fn.extend({         center: function () {             return this.each(function() {                 var top = ($(window).height() - $(this).outerHeight()) / 2;                 var left = ($(window).width() - $(this).outerWidth()) / 2;                 $(this).css({position:'absolute', margin:0, top: (top > 0 ? top : 0)+'px', left: (left > 0
  • Font-family in css doesn't work

    I want to apply Arial to #about, #home, #support. But they never change. PLEASE see the attached in: https://jsfiddle.net/jsfiddle135/n8L6m5gt/3/
  • Applying the same function to two elements

    Hi, How can I apply the same jQuery function to two different elements. I tried this, but it doesn't work: slideFade($('.messages.status'), $('messages.error')); Why it's not working? I know that it works this way: slideFade($('.messages.status')); slideFade($('.messages.error')); But is this the right way to do it? Thanks
  • Adelani Adekunle - Is jQuery platform Independent?

    Hello, I am Adelani Adekunle.I am learning jQuery now a days and just want to confirm whether it is platform independent or i need to install something for it.
  • Magnific Pop up not working for scroll images displayed using Java script (from Dynamic Drive)

    Dear Sir Please refer  http://prajaktasoftware.com/sugandhi/aboutus.php The click on scrolling image donot display the image in pop up however the same displayed (as non scrolling image) which indicates the Magnific popup is working displays the image in bigger size when clicked on scrolling image using magnific popup script for scroll image <script type="text/javascript"> /*********************************************** * Conveyor belt slideshow script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
  • Click event is omitted once on Windows 10 Mobile

    Hi, I am using jQuery 2.2.3 in a Windows 10 Mobile WebBrowser component. Alas it seems that click events get omitted once on Windows 10 Mobile so that only the second click (or touch in this case) is fired. The click event is registered like this:         $('#id').on             (                 {                     'click' : onClickDelegate                 }             ); This works fine on Android and iOS and Windows Phone 8 / 8.1. Only on Windows 10 Mobile just the second touch fires the click
  • for () issue

    Hi, I'm currently working on a project that a script already exist but needs tweaking. Basically what it does is it performs a Get request from a service provider for job posting and display all new posts to the website. But the issue is, if the user only has 1 post we get an error "data[i] is undefined".                 if (data.length > 0) {                     for (var i = 0; i < 5; i++) {                                                        tableList += "<ul class='sidebar-latest'><li><h4 class='post-title'><a
  • Random image with timed refresh

    I'm needing to pull a random image from over 200 images so loading them all up front is not possible as the load time would be much too long. So I need something that will pull one randomly and then after a few seconds run again to load another image. The JPG images are named 1.jpg, 2.jpg, 3.jpg, etc. The plain javascript I have now requires that the whole page reloads to get the image to change. Below is the code I'm currently using: <div id="header_image">     <script language="JavaScript" type="text/JavaScript">
  • How can I add navigation to my jquery slideshow?

    I have a site on blogger and I used jquery slide in this page http://www.aniavouloudi.com/p/anagnorisis.html How can I make it slide only with navigation buttons and how do I add them? In HTML above </head> I put this: <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js' type='text/javascript'/> <script type='text/javascript'>//<![CDATA[ $(function(){     $('#slider div:gt(0)').hide();     setInterval(function(){       $('#slider div:first-child').fadeOut(0)          .next('div').fadeIn(0000)
  • that with the coding��?

    that with the coding��? utf-8  ��  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  • How to hide the status bar, or put down header?

    How to hide the status bar, or put down header?
  • Animation in jQuery

    Hi guys I'm squirrelling away trying to learn Javascript/jQuery with the intention of using git for mobile applications. One issue I'm having trouble getting started with is animation. I am looking to animate a graph so it scrolls left at a set pace. The graph is essentially a series of bars (each a separate DIV in the code) with the width set based on a previous user input (i.e. they can vary). The width then translates into seconds so I want to animate the graph to scroll from right to left at
  • Jquery UI Dialog Modal

    Hello I have a question. I am using a modal dialog from jquery ui. Bellow see the code for open it. When I open all the scrren became unuseable, including the modal window. Can somebody help me on this. Thank you.         <script type="text/javascript">         $(document).ready(function ()         {             $(function ()             {                 $("#dialog-message").dialog({                     dialogClass: "no-close",                     autoOpen: false,                     modal: true,
  • Checkin input text value in table.

    Hi, I would like to check the value of my input text in a table when I input it. All these input text have an id that starts with the same letter (q) I've tryed in this way: $('input[id^=q]').keyup(function() { }) Thanks in advance Tegatti
  • Michael Schoenly - Is Java script different from jQuery?

    Hello, I am Michael Schoenly. I work in html and i want to improve my skills and planing to learn jQuery. But i am little confused whether jQuery an javascript is same or not.
  • How does this dialog invoking code work

    I am new to jquery and do not understand exactly what is happening.  I am opening a dialog using the ajax API.    I understand how this selector is suppposed to work - $('#'+divId).  The element being selected by '#'+divId is actually a div where I want the dialog to be opened. What I do not understand is what the .html(data) does before the .dialog().  The data is being returned from the successful ajax API.  The value of data appears to be "longString".  I determined this using firebug. When I
  • Next Page

  • Announcements

  • The Basics of jQuery AJAX

    A step-by-step tutorial for those new to jQuery and wanting to use AJAX in their projects. Includes valuable information about troubleshooting using the console and understanding the request / response. http://jayblanchard.net/basics_of_jquery_ajax.html
  • jQuery Conference 2010: Boston Announcement

      The jQuery Project is very excited to announce the jQuery Conference 2010: Boston on October 16-17, 2010.  The conference will be held at the Hilton Boston Logan in Boston, Massachusetts.  The best part of this announcement is that Tickets are on sale now!  This venue is the largest that the project has worked with to date (Harvard Law School in ‘07, the MIT Stata Center in ‘08 and Microsoft New England Research Center in ‘09) and we expect to sell out very quickly. A brief synopsis of some of