2,535 Topics
![]() | |
I am using noUiSlider and I am trying to get the slider value to Post through a form. The form is posting fine, but the value of the slider does not change from the start value, so is always set at 7000. Any ideas how to make the value change … | |
Hello all! Can someone help with this matrix? it needs to spiral inwards, from bottom right corner, clockwise... I found this code... and it runs nicely but I need to adapt it in some ways: - I should be able to provide number of rows and columns - the grid … | |
` <script type="text/javascript" src="js/jquery.min.js"></script> <link rel="stylesheet" href="js/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" /> <script type="text/javascript" src="js/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.pack.js"></script> <script language="javascript"> $(document).ready(function() { /* Apply fancybox to multiple items */ $("a.grouped_elements").attr('rel', 'gallery').fancybox(); $("a#inline").fancybox({ 'hideOnContentClick': true }); }); </script> <div id="tabs"> <ul> <li><a href="#tab1">Watsons HWB awards</a></li> <li><a href="#tab2">Mardi Gras Event</a></li> <li><a href="#tab3">WD40 Dealers Summit</a></li> <li><a href="#tab4">Chole Fashion … | |
I want one script to have multiple events (jQuery), based on what event is triggered it will load up different content on the same div. Does that make sense or do I have to have multiple ID's ? | |
Hello guys this may be easy question but I m finding it quite tricky. Scenario is I m printing all the values from the database table using jstl foreach. <c:forEach items="${pal}" var="p"> <tr> <td><c:out value="${p.pid}"></c:out></td> <td><c:out value="${p.pname}"></c:out></td> <td><c:out value="${p.pdesc}"></c:out></td> <td><c:out value="${p.pestd}"></c:out></td> <td><a id="popa" href="#">Allocate</a></td> </tr> </c:forEach> And now onclick Allocate … | |
hello friends. i have a small proble but i'm not abble to solve, the problem is i have i form when user submit if he is not login he get a alert please login function showloginbox() { var client=document.forms["formulaireajout"]["client"].val; if (client==null || client=="") { alert ("please login"); return false; } … | |
Hi i tried this regular expression `^(?:\00|9)[. ()-]*(?:\d[. ()-]*){8,14}$ `to enter a phone number in a text field ,but it didnt work like i wanted . what i want the rule to be is if the phone number starts with 9 then the length would be 8 digits, but if … | |
![]() | Sup peeps, I'm building an ultimate CMS and I am looking into building a drag and drop menu. I alreadly have the jquery to create the drag and drop items but I was wondering what is the best way to save this to a database. <ul> <li>stuff</li> <li>morestuff</li> <ul> <li>ssstuff</li> … ![]() |
Hi, I have a question about animating anchor links with jquery. I had a look online and for some hints and then I came up with this code: HTML <div class="navWrapper"> <img src="images/mobile_quick_nav.png" alt=""> <ul> <li><a href="#num1" class="navLink">Home</a></li> <li><a href="#num2" class="navLink">Panel 2</a></li> <li><a href="#num3" class="navLink">Panel 3</a></li> <li><a href="#num4" class="navLink">Panel 4</a></li> … | |
I'm using a jquery plugin that requires me to have inline styles. This is ok if I'm having styles for single viewport. In my case, I'm on a responsive design with media queries for different viewports which means the element style changes on each viewport. I want to pick the … | |
![]() | Hi all, I have some HTML as follows and I want it so when you click on an <li> it returns the dd3-content and url. <div class="dd" id="nestable3"> <ol class="dd-list" id="start"> <li class="dd-item dd3-item"> <div class="dd-handle dd3-handle"></div> <div class="dd3-content">Home</div> <div class="url" style="display:none;">homeurl</div> </li> <li class="dd-item dd3-item"> <div class="dd-handle dd3-handle"></div> <div … ![]() |
Hi i wanted to do validation using `data-validation `attribute in jquery,so what i wanted to check is how to limit input in `minlength` and `maxlength` and to be only alphabet chars,so `maxlength` worked but `minlength` didn't !! it was like "not valid attribute for input in HTML5", <label> at least … | |
Hello I have a web form, whereby I want to allow users to only input dates in the format DD/MM/YYYY. I've tried with the following code to show an error message if the date is not valid, however if I add something like 5/5/5, it still passes is as a … | |
I'm trying to set a time limit of like 2 mins after time of a click event. How can I achieve this? Most of the countdown timers I see all over the internet are countdowns to dates like Aug 23, 2015 | |
I want to give 2 option for 5th subjects depending on stream choice. Means if user select Commerce then he/she must able to select any 1 subject from drop down either IP or Other same for other streams. – <!-- 1st select block will look like this --> <td>Stream : … ![]() | |
Hello, I have an event ('show' & 'click') bounded to the element to make it scrollable using the jquery '.on' method but when I try to bind another event on click like below the alert does not show up - `$('.elem').on('show', function(){//some code here}).on('click', function(){alert($(this).text())});` what I am actually trying … | |
I want the script, when the event is clicked, animate the div into view, only unless the div is clicked. Is the follow script in the right direction ? $("#open").click(function() { .animate(easeInOutBounce) )}; | |
How can I prevent the user from typing in a date or anything else in the <input> element connected with a jQuery datepicker ? | |
I'm testing out wdcalendar, a jquery based calendar for a wesbite. Some info on it: [url]http://www.webappers.com/2010/06/08/wdcalendar-jquery-based-google-calendar-clone/[/url] The installation instructions are simple, but not detailed so maybe im screwing up somewhere. They go as follows: Copy the unzipped directory into the apache www directory/sub-directory. For a database: Create a database, execute … | |
![]() | hi so im working on this school project (developing a website), im not be best front end designer and was hoping if you could all give me feedback on the design, colours and layout in order for improvement, i would really appreciate this thanks  |
I have a simple menu like this **HTML** <div> <ul> <li> <a href="#">Demo</a> </li> <li> <a href="#">Demo2</a> </li> <li> <a href="#">Demo3</a> </li> <li> <a href="#">Demo4</a> </li> <li> <a href="#">Demo5</a> </li> </ul> </div> **CSS** ul li:nth-child(1){border-top:4px solid red;} ul li:nth-child(2){border-top:4px solid pink;} ul li:nth-child(3){border-top:4px solid blue;} ul li:nth-child(4){border-top:4px solid orange;} Now … | |
I'm trying to do a username availability check on my website, i.e during registration, it checks if a username is taken or still available. However when i execute i get no result at all,nothing happens. My code: **Registration page** ***register.php**: * //this form posts to the same script. //In this … ![]() | |
I have 2 input fields that when a user inputs the date in say mm-dd-yyyy format, i would like to have it automatically change to yyyy-mm-dd (ISO 8601 Date Format) the input fields are very simple: <div class="form-group"> <label for="purchase_date">Purchase Date <font size="-3">(Year-MM-DD) format</font></label> <input type="text" name="purchase_date" class="form-control" placeholder="Purchase Date"> … | |
Hello, im making a bookmark script to save on a web page as links. I have the following code but i want to have links movable. That is i want to able to change position on the links. Demo: [Click Here](http://test3.fcab.se/links/temp/index.php) i have tested several Jquery/Java dragg/dropp/sort scripts but i … | |
Can anyone suggest a jquery gallery (free or paid) that is responsive and allows for multiple image albums, but is not a tiled gallery? | |
I had noticed a lot of returned mails with spam content arriving daily. i renewed the old mailing scripts (which was overdue) to include jquery clientside(irrelevant i know) and serverside switched to phpmailer adding a captcha as well as the existing honeytrap that i had before. now although less im … | |
I'm having some problems understanding how to download an effect from jQueryUI. There is an effect I want on [this](http://api.jqueryui.com/easings/) there is no code or script to download ? | |
Dear Daniweb, I just got the following [HTML5 music player](http://www.audioplayerhtml5.com/player_blackControllers_WithoutPlaylist_Ex1.html), which gets it's music from a list I provide in HTML like this: <ul> <li class="xtitle">Follow Me Here B</li> <li class="xauthor">Author Name</li> <li class="xsources_mp3">audio/adg3com_freeform.mp3</li> <li class="xsources_ogg">audio/adg3com_freeform.ogg</li> </ul> <ul> <li class="xtitle">This is Freeform C</li> <li class="xauthor">Author Name</li> <li class="xsources_mp3">audio/wm_follow_me.mp3</li> <li class="xsources_ogg">audio/wm_follow_me.ogg</li> … | |
Hello I made a web page that needs the user to insert some info in text boxes and then submit them . I want to ask about how can i insert as an option to drop down list once i enter the textbox value by the user like this NAME … | |
So I'm trying to use a free service to get the visitor's location and redirect them to the proper page. The problem is that these free services don't always work; freegeoip has a limit of 10000 requests per day and I'm not sure about telize. What I want to do … ![]() |
The End.