15,688 Topics
![]() | |
i need to integrate a available domain checker in my php email form. but this seems to be complex for me as i am a beginner in PHP coding. i want to integrate it in a text field, like this: <input type="text" name="domainname" /> so, a user can check for … | |
![]() | I have a php/mysql project. When the admin deletes a customer from the database on the form I need the confirm box to display the customer row that they want to delete as well as the message. Here is current confirm box with a message <script type = text/javascript> function … |
i have 3 selectlists selectlist1 ---> option1,option2,option3 when user selects option2 , other 2 selectlist should show up for option2 only, selectlist2 ---> male,female selectlist3 ---> city1,city2,city3. does anyone has the idea how can i do that ? | |
![]() | 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> … | |
![]() | <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 class="dd3-content">About Us</div> <div class="url" style="display:none;">abouturl</div> </li> <li class="dd-item dd3-item"> <div class="dd-handle dd3-handle"></div> <div class="dd3-content">Gallery</div> <div class="url" style="display:none;">galleryurl</div> <ol class="dd-list"> <li class="dd-item dd3-item"> <div class="dd-handle dd3-handle"></div> <div class="dd3-content">Contact</div> <div … ![]() |
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 have 2 drop down. In 2nd drop down items are added dynamically based on 1st drop down selection. Now I want selected value of 5th subject to store in MySQL table. I am not able to get the value of option which is selected in 2nd drop down. How … | |
so I have a bunch of DIVs containing inputs named by ints. I have the parent DIV of these DIVs, but now I'm stuck at: var div = parent.children()[index] what I want to do is get the child <input> by it's name "0". how can I do this?? thanks :) | |
Hello, I am trying to receive the documenttext of a web browser after the user has clicked a javascript button which loads more information on to the page. Instead of getting the new code, it simply gives the original code which was given once the page was loaded. Any help … | |
I want the field entries to be posted to a new row on the table on the same page [without refreshing] but I have no idea what to do. Please help. <!DOCTYPE HTML> <HEAD> <style type="text/css"> body { background-image:url('http://s3.amazonaws.com/br-cdn/temp_images/2014/03/03/bcada532fad70fea292c3dfacdd14e7b.gif?1393878752'); background-repeat:repeat; width:750pt; margin:0 auto;} p {font-size:12pt; font-family:Trebuchet MS;} form {font-size:12pt; color:blue; … ![]() | |
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 to make a pop window like in javascript, when a user enters invalid username or password, a window appears requesting valid information. how can i do that please? ![]() | |
Why isn't this [loop](http://jsfiddle.net/WildWind/8GY37/) working ? | |
This is a pretty darn simple snippet that I learned from a site (don't remember the name). This is just the working Javascript which i managed to "easily" replicate :P Hopefully this will be useful for you guys. Note, this won't graph anything unless you have the html/css (i didn't … | |
I have a link that once clicked is suppose to make a div visible. So far it does but it only makes the div visible for a second then it returns to being invisible. I gave the div the value `display:none;` in Css and the javascript gives it the value … | |
I have a function that calls a php script to update cart items (cookie). When I have multiple items in the cart I use a loop that calls my function. function updateCart(ur){ $.ajax({ url: ur, success: function(data){ console.log(data); } }); } I think this is firing too fast or something. … | |
this JS code goes towards a plugin for my forum. the user-code for the smileys is supplied from a <span>user-code</span> or dictionary object as: "{':\\)':'http://somedomain.com/smile.gif',':\\(':'http://somedomain.com/frown.gif'}" ^while this is user-code, a GUI replaces the textarea containing this, so the user doesn't get to see this code. as for the code that … | |
Hello, How can I modify contents of a web page (like text) and have it stay that way locally, even after refreshing and reloading the page from a hyperlink? I know you can use Javascript to modify information in a web page, but that is only temporary. I want to … | |
I'm working on a website with a sign-up form. I've been able to perform validation without page reload, printing appropriate error messages.However i'm trying to implement an interface i've seen on a couple of websites, where a user is guided to fill certain fields like password that come with restrictions, … | |
Heya all, I'm trying to render a histogram of relative frequencies using D3 in combination with AJAX. Now i'm getting all my data correctly, but when i try to draw my chart, the first 2 bars are missing. The only error i'm getting on both firefox's and chrome's javascript console … | |
Can someone explain this what it is doing? if ( condition1 && condition2 && condition3 && condition4 && condition5 ) { code } It doesn't do what I want it to do but this does. if ( condition1 ) { if ( condition2 ) { if ( condition3 ) { … | |
I am trying to create a way so that I can collect 5 points within the (x,y) format. Then, I want to take those points and plot them on a coordinate plane. I am not sure how to write this, espicially when I am only planning on PHP. I have … ![]() | |
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) )}; | |
hello sir, can i use ajax in textarea for showing hints from within a file..i think web development forums used this technique for tgging the posts... ![]() |
The End.