15,121 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
198
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
320
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
291
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
262
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
373
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
255
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
985
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
410
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
265
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
401
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
885
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
351
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
303
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
Member Avatar for AntonyRayan

In javascript, I took the difference between twodates. When Finding difference between two dates for example 12.00.PM to 02.00.PM, I got output 2 But when I am finding difference between two dates like 12.00.PM to 01.30.PM, I got output like 1.5. So I want to show this 1.5 like 1 …

Member Avatar for diafol
0
63
Member Avatar for davy_yg

Hello, Cek this website: http://www.akronyms.net/demo/arvin-html/v_1.3/ On the portfolio part. I am looking for a jquery that is exactly able to shuffle pictures like that. How? Thanks in advance.

Member Avatar for davy_yg
0
981
Member Avatar for bdanie

I have a code for countdown timer and it works perfectly fine.. <html> <title>project prelim</title> <head> <script type="text/javascript"> var ss = 10; function countdown() { ss = ss-1; if (ss<0) { window.location="testover.html"; } else { document.getElementById("countdown").innerHTML=ss; window.setTimeout("countdown()", 1000); } } </script> </head> <body onload="countdown()"> <center> <table width="100%" height="600px" style="text-align:center;"> <tr><td …

Member Avatar for bdanie
0
6K
Member Avatar for jchimz

I'm trying to change the code below to upload multiple files. Each with a seperate progress bar as shown below. Please help. ![snip.JPG](/attachments/large/4/e311263a0071b800273939069664b69b.JPG "align-center") <!DOCTYPE html> <html> <head> <script> function _(el){ return document.getElementById(el); } function uploadFile(){ var file = _("file1").files[0]; // alert(file.name+" | "+file.size+" | "+file.type); var formdata = new …

0
207

The End.