15,688 Topics

Member Avatar for
Member Avatar for AntonyRayan

I have two date fields. One field is from date and second one is to date. While the cursor moving from second date field to submit button, I have to compare the two dates. if from date greater than to date it has to display error and has to empty …

Member Avatar for Taywin
0
199
Member Avatar for anmol.raghuvanshi1

I am trying to intergrate the jquery tokenInput plugin to my form [Link](http://loopj.com/jquery-tokeninput/) I want to simple local data search I want data to be fetched from database and show it in input box with multiple options as in demo However this code works for me it displays the result[i …

Member Avatar for anmol.raghuvanshi1
0
884
Member Avatar for fheppell

Hey, I'm trying to (using bootstrap btw), have a page with a header and an iframe. I want the iframe to take up the remainder of the page's height and 100% width. This is my code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> …

Member Avatar for diafol
0
321
Member Avatar for James19142

To begin with, I'm a noob to JavaScript. How do I add functionality to the main loop, or something similar?

Member Avatar for AleMonteiro
0
294
Member Avatar for phoenix254

What are the differences between **htmlspecialchars()**and **htmlentities()**. When should I use one or the other?Explain me in poor words

Member Avatar for diafol
0
263
Member Avatar for vizz

How to flip multiple div when clicked on menus? Current code is working for only last two div's. [code in work on jsfiddle](http://jsfiddle.net/Lucdd/) **HTML** <ul class="nav"> <li><a href="#home">home</a></li> <li><a href="#about">about</a></li> <li><a href="#work">work</a></li> <li><a href="#contact">contact</a></li> </ul> <section class="container"> <div id="card"> <div class="front flipper" id="home">home</div> <div class="back flipper" id="about">about</div> <div class="front flipper" …

Member Avatar for Jad4
1
982
Member Avatar for phoenix254

I am using jQuery and prototype libarary fro this project. I have this code so far: HTML: <div id="cnt"></div> <input type ="text" id="bla" name="tct"/> Javascript: if(e.keycode == 13){ var text = document.getElementById('#bla'); text= $('#bla').val(); //text.evaljson(); //I put a comment because it gives me error "badly formed json string" $('#cnt').append(text); } …

Member Avatar for diafol
0
314
Member Avatar for hwoarang69

I am using eclipse, Java, and seting up Ajax-DWR. When I run my program nothing happens. I belive This is cause by warning in my xml file. I tried looking on google but didn't found any thing. ## files Path, jar files, etc...: ## Take a look at the attached …

Member Avatar for JamesCherrill
0
381
Member Avatar for Latrell_vie

i have a restaurant dropdown menulist, when sb clicks the one of the various meals i want a picture of it to <img id="menupic"src="picFold/actualPic.jpg" alt="Foto der Men&uumlliste">. I only had partial success , who can help me finalize this task ? thx sofar : menu.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML …

Member Avatar for Latrell_vie
0
261
Member Avatar for Latrell_vie

Urgently need a menu dropdown WITH IMAGES for a restaurant website for its food menu. Looked for jquery on the internet,couldnt find one, only complete wordpress themes or some without images , but i'm looking for javascript or jquery or anything else to implement since the website is not on …

Member Avatar for Latrell_vie
0
258
Member Avatar for SRISRISIVA

I got a requirement. i have a tabular form with some records, for example i have a department table in a tabular form, if i check first record that means department 10 and then if i click any button we need to show the list of employees whose department is …

0
77
Member Avatar for rpv_sen

Hi I am trying to clone a row with dependent dropdown. first row is working fine. Once i click add row button, if i select the project option its not working on client select option. can anyone please help me to fix. Note: I used trying using id="client[]" and id="project[]" …

Member Avatar for diafol
0
988
Member Avatar for seularts

Hi, I stumbled upon this website recently: http://archeage.xlgames.com/ and fell in love with the way they designed it, but I have no clue what css/jquery method they used to achieve this. Can anyone point me in the right direction to some sort of tutorial that will help me create a …

Member Avatar for diafol
0
106
Member Avatar for hwoarang69

I am trying to get similar effect as this link: http://api.jquery.com/slideup/ ## What I am using: ## vb net, JQuery,css ## what I am trying to do: ## I have a div with ID 'box' and inside this div, I have one span and one imagebutton. When user click on …

Member Avatar for Begginnerdev
0
222
Member Avatar for davy_yg

Hello, Besides testimonial I also would like to create a slider for my clients: http://www.innovation.web.id/One/portfolio-filter.php I do not know if it is the same concept or I must use different slider? See that greybar on the buttom with a list of my clients? I would like to create a horizontal …

Member Avatar for lps
0
427
Member Avatar for davy_yg

Hello, I would like to create a slider for testimonial. See that there is that white arrow on the left and right side of testimonial (< >). I would like to make it work but how? http://www.innovation.web.id/One/about.php Thanks in advance.

Member Avatar for pritaeas
0
198
Member Avatar for ramsiva

newTextBoxDiv.after().html('<div id="hoteldiv' + counter + '">'+'<input type="text" name="tripdetails[0][hoteldetails][' + counter + '][name]" id="textbox' + counter + '" value="" >'+ '<input type="text" name="tripdetails[0][hoteldetails][' + counter + '][number]" id="textbox' + counter + '" value="" >'+ '<input type="text" name="tripdetails[0][hoteldetails][' + counter + '][address]" id="textbox' + counter + '" value="" >'+'<br><br>'+ '<input type="text" name="tripdetails[0][hoteldetails][0][contact][' …

Member Avatar for ihelpyou
0
267
Member Avatar for Violet_82

Hi all, does anybody know of any good guide for beginners to write twitter bots? I had a look around but I couldn't find anything terribly good. Does anybody have any suggestion, something that starts building very simple bots thanks

0
62
Member Avatar for Violet_82

Hi guys, I've run into something interesting and I'm a bit stumped with this. Basically I have a form: <form> <div class="formWrapper"> <span>Refine your search</span> <input type="text"> <select> <option>English</option> <option>French</option> <option>Dutch</option> </select> <button class="submitButton" type="submit" data-ajaxurl="http://localhost/_myFile.html" data-ajaxtarget="#myFile_search" >Search</button> </div> </form> and some bootstrap pagination links: <div class="bootstrap_pagination"> <ul> <li class="active"> …

0
127
Member Avatar for solomon_13000

I am attempting to organize my code in the following manner: if (is_ajax()) { if (isset($_POST["action"]) && !empty($_POST["action"])) { //Checks if action value exists $action = $_POST["action"]; switch($action) { //Switch case for value of action case "initMsg": initMsg_function(); break; case "initCombo": initCombo_function(); break; } } } function is_ajax() { return …

Member Avatar for minitauros
0
56
Member Avatar for Aeonix

I made an API request using AJAX request, I received JSON, I tried my best to use JavaScript to parse it, but to no avail. Instead I used jQuery which made it as painless as 2 lines of code. Now I have JSON array translated into array-ish object in JavaScript. …

Member Avatar for Aeonix
0
402
Member Avatar for davy_yg

Hello, I am trying to create a picture gallery that can be sorted based on certain category. These are some examples or references on how to do it : http://isotope.metafizzy.co/sorting.html The only difference is that mine is using real picture instead of text which makes the sorting function does not …

Member Avatar for davy_yg
0
905
Member Avatar for gkumaravel

Hi, I want to run php function using jquery ajax, Task is i have two dropdown(html select) **Filter_by_class.php** <form action="filter.php" method="POST" id="filter_students_form"> <div class="field"> <label for="stud_class_filter" class="cbx-lbl lbl-width">Select Class</label> <span class="dbl-dote">:</span> <select name="studclass_filter" id="stud_class_filter"> <option value="">-- SELECT STUDENT CLASS --</option> <?php if ($getStudentClass = $db->query("SELECT * FROM classes")) { if …

0
182
Member Avatar for bflan

I tried the following ways of calculation and passing back to the form I made. The commented out function is the same, but handled differently and was my first attempt. function oneRepCal(wt,rp) { this.wt = parseFloat(document.ormCalc.wLift.value); this.rp = parseFloat(document.ormCalc.rComp.value); lifted = this.wt * this.rp; oneRepC = (lifted * .03333) + …

Member Avatar for bflan
0
227
Member Avatar for Lau_1

Hello, i had some problem with the below code. How to change the 'Click to Read More' and 'Click to Hide' function by just click 'Step' to show and hide? page.php <blockquote class="bigtext"> <p class="title"><b>Step 1</b><hr class="style1"></p> <p></p> <p></p> </blockquote> javascript <script> $(function(){ var animspeed = 950; // animation speed …

Member Avatar for diafol
0
352
Member Avatar for Kate_2

Help please? ineed to make a program. A program that calculates the average grade of the 3 quizzes taken by the student. Ask the user to enter his/her grades. The program should display the average grade

Member Avatar for diafol
-1
111
Member Avatar for joshmac

As it stands, the data elements are submitted to the database. But I need help figuring out two things: one, is how to show the new deptCode in the dropdown list of deptCodes and two, how can I clear the form after a successful submit? Below is the code that …

Member Avatar for diafol
0
305
Member Avatar for jchimz

This is my code to upload files with a progress bar. Problem is all three progress bars are listening for one file and not three different files. Please help me. $('.btnUpload').click(function(){ //submit all form $('form').submit(); }); $(document).on('submit','form',function(e){ e.preventDefault(); $form = $(this); uploadImage($form); }); function uploadImage($form) { alert("in"); $('.progress-bar') var formdata …

Member Avatar for diafol
0
187
Member Avatar for lewcris-17

I am using the ShieldUI jQuery grid component for a project of mine and wanted to apply some additional calculations on the data and display these results in the grid. Is there an easy way to do this with the component or is there something that I am missing?

Member Avatar for baker-thomas
1
56
Member Avatar for Swati_6

CakePHP has few immense tools for a PHP developer to turn out JavaScript utilities utilizing merely PHP. The JsHelper hold up the example, jquery UI. The Ajax Helper uses the forever-accepted Prototype & script libraries for Ajax process & client side results. [Click Here](http://www.phpandsql.com/how-to-use-ajax-in-cakephp/)

-1
74

The End.