2,530 Topics

Member Avatar for
Member Avatar for Shaikh_1

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 …

Member Avatar for cool_zephyr
0
2K
Member Avatar for chrisschristou

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; } …

Member Avatar for Bile
0
221
Member Avatar for fedaa91

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 …

Member Avatar for fedaa91
0
343
Member Avatar for iamthwee

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> …

Member Avatar for iamthwee
0
656
Member Avatar for Violet_82

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> …

0
159
Member Avatar for silverdust

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 …

Member Avatar for EvolutionFallen
0
257
Member Avatar for iamthwee

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 …

Member Avatar for iamthwee
0
175
Member Avatar for fedaa91

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 …

Member Avatar for fedaa91
0
380
Member Avatar for Ritesh_4

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 …

0
106
Member Avatar for silverdust

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

Member Avatar for silverdust
0
214
Member Avatar for vishalonne

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 : …

Member Avatar for diafol
0
279
Member Avatar for network18

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 …

Member Avatar for network18
0
138
Member Avatar for Siberian

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) )};

Member Avatar for Siberian
0
127
Member Avatar for aparnesh

How can I prevent the user from typing in a date or anything else in the <input> element connected with a jQuery datepicker ?

Member Avatar for jstfsklh211
0
276
Member Avatar for ryan461

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 …

Member Avatar for Jorge Víctor
0
676
Member Avatar for roxanne.martos

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 ![4321c7b71e0e04339105d210faa3c8b7](/attachments/small/4/4321c7b71e0e04339105d210faa3c8b7.png "align-right")

Member Avatar for silverice282
0
228
Member Avatar for dany12

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 …

Member Avatar for dany12
0
293
Member Avatar for dhani09

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 …

Member Avatar for iamthwee
1
482
Member Avatar for patk570

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"> …

0
136
Member Avatar for PatrikIden

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 …

0
154
Member Avatar for HelenLF

Can anyone suggest a jquery gallery (free or paid) that is responsive and allows for multiple image albums, but is not a tiled gallery?

0
96
Member Avatar for edbr

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 …

Member Avatar for edbr
0
135
Member Avatar for Siberian

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 ?

Member Avatar for Siberian
0
234
Member Avatar for SaroGFX

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> …

0
326
Member Avatar for fedaa91

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 …

Member Avatar for fedaa91
0
1K
Member Avatar for RobotFX

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 …

Member Avatar for [NOPE]FOREVER
0
600
Member Avatar for sussy123

I am baffled at this webform on my responsive site which works perfectly fine in all iOSdevices and android tablets. However on android smartphones, specifically samsung s3/s4 -when the text box is clicked- the keyboard appears for less than a second then suddenly disappears. Should a set focus rule be …

Member Avatar for [NOPE]FOREVER
0
3K
Member Avatar for Christian Joy

i am making an online quiz that has a countdown timer plugin: https://code.google.com/p/jquery-countdown/source/browse/trunk/js/jquery.countdown.js?r=3 everything is fine but if the user log out or close the browser then the timer will reset back to the default given time. i would like to know how to get the value of the timer …

0
113
Member Avatar for nadiam

maybe i need to be more specific in where i post my questions coz i posted one in web development. so ill reiterate im trying out this cloning and toggling thing to see if they could work together. ive got a table like so: <table class="StateTable" rules="all" cellpadding="0" cellspacing="0"> <thead> …

Member Avatar for minitauros
0
3K
Member Avatar for nadiam

what i want to do is show form based on the value of a dropdown list. like if value 2 then what appears is two forms of the same form. example: <div> How many? <select name="options"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> </select> </div> <div id="test"> </div> <form id="form1"> <table> …

Member Avatar for nadiam
0
366

The End.