15,113 Topics

Member Avatar for
Member Avatar for Violet_82

Hi I have run into a issue recently. I am working on a website that involves quite a bit of scrolling: basically, there is a fixed position menu with some anchor links. when you click on an anchor links the page automatically scrolls down to the desired position. All good …

Member Avatar for Violet_82
0
384
Member Avatar for Octet

I am trying to validate a form for my website, at the moment the problem is it shall skip over the JavaScript bit entirely and go straight to the PHP side of it. This is my HTML Form: <form name = "Contact" action = "/PHP/UserActions/Contact.php" onsubmit = "return validateForm()" method …

Member Avatar for Octet
0
295
Member Avatar for sanjeewa.abeywardana

**Searching for a Jquery IDE(BEST ONE) supporting intellisense inside the IDE** feature. wonder how can this be acheived .... so it is rather easy to develop or to get to know with syntax issues. a LIGHTWEIGHT IDE is preferred supporting windows enviornment.

Member Avatar for pritaeas
0
33
Member Avatar for axel22

I am figuringout why my code isnt working, I have tried numerous different variables and so on. I need help on why it is not calculating? <html> <head> <title> Quadratic</title> <script type="text/javascript"> function Calculate() { var a = document.getElementById("aBox").value; var b = document.getElementById("bBox").value; var c = document.getElementById("cBox").value; var x = …

Member Avatar for pritaeas
0
90
Member Avatar for muralibobby2015

hello... i have textbox with update option. when i change the value in textbox then update the session value. how to assign text value to session variable in javascript. this is my script. [CODE] <script>function update_value() { //window.alert(window.document.creditform.quantity.value) if((window.document.creditform.quantity.value=='') || (window.document.creditform.quantity.value=='0')) { window.document.creditform.quantity.value=1; } else { <? $_SESSION['qty']?>window.document.creditform.quantity.value; } }</script>[/CODE]

Member Avatar for nuryanto
0
18K
Member Avatar for DanielPepzi

Hi! New here, but i'll keep it short and as detailed as i can. I have searched for anything similar but cant seem to find anything.. Well, here is what i am having problems with: I'm trying to create an array (consisting only of img src) for every image loaded …

Member Avatar for DanielPepzi
0
408
Member Avatar for Waleed Baig

Hey there! I am making something related to images... So, Using JavaScript and JQuery $(document).ready(function(){ $.fx.speeds.slow = 2000; $(".Gallery").hide().load("gallery.php").fadeIn("slow"); setInterval(function(){ $(".Gallery").hide().load("gallery.php").fadeIn("slow"); }, 3000) }); In this case I want to refresh the div(.Gallery) but I dont want to load gallery.php, In fact what I want is, Put the gallery.php code …

Member Avatar for GliderPilot
0
174
Member Avatar for lucy1997

Please help I've written this code and it works until i asked it to check if the radio buttons were checked and if none of them were checked to come up with an error alert and if one of them was checked to ask the user to confirm if it …

Member Avatar for Taywin
0
181
Member Avatar for shadiadiph

Sorry I have been searching for hours and hours now been looking for a way to gzip a file in javascript client side so i can then upload it and unzip it server side. You may ask why not just zip it normally? This is for my users and most …

Member Avatar for dcdruck
0
1K
Member Avatar for adishardis

Hi, I have this fiddle that works but on my website it does nothing. http://jsfiddle.net/adishardis/r3eyD/17/ What is the best way to troubleshoot why this is?

Member Avatar for adishardis
0
676
Member Avatar for Angel78

So I have been wrestling quite some time with this and starting to stare myself blind here. Maybe this is trivial and I bet I am missing something basic so here goes. I have a simple html document with two paragraphs, both are class=show with the id's: id=show1 & id:show2, …

Member Avatar for mrnutty
0
224
Member Avatar for eantz

Hi.. I have an XML file like this <?xml version="1.0" encoding="UTF-8"?> <player> <user> <username>destiya</username> <password>destiya</password> </user> <user> <username>dian</username> <password>dian</password> </user> </player> then I want to parse it with javascript and here is my javascript code : function loadXML(path) { var xhttp; xhttp = new XMLHttpRequest(); xhttp.open("GET", path, false); xhttp.send(); return …

0
52
Member Avatar for ctrenks

Having built many web applications with ajax / php / mySql I was presented with a "simple" task form a friend of mine. We built a database of every MTG card for a website, then figuerd we have all this data lets build a simplr "tabletop" emulator to play between …

Member Avatar for AleMonteiro
1
187
Member Avatar for dalilice

i want to show hide multiple divs with jquery or javascript. I seached the web but i find codes that must have unique divs like: <div id="div1">text</div> <div id="div2">text</div> and so on, but i want to add the divs in a foreache php function so i can't have multiple IDs, …

Member Avatar for pritaeas
0
253
Member Avatar for harry.gulliford

Hey guys, I have created a website that has a like feature. Every time someone clicks on the button it writes to my database and adds / removes a row (depending on if the user is liking or disliking the content). Basically I want to stop a user from "spamming" …

Member Avatar for JorgeM
0
92
Member Avatar for i_M_patil

<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ page import="java.util.*" %> <%@ page import="java.io.*" %> <html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> <script src="http://www.jquery4u.com/scripts/function-demos-script.js"></script> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>OSM L1 operations</title> <script> function emailValidate() { email = document.getElementById("HLR_STATUS_MSISDN").value; $.ajax({ url : "GetOSMStatus1?txtname="+email, success : function (data) …

Member Avatar for i_M_patil
0
216
Member Avatar for rotten69

Hi everyone, I'm making my first jQuery mobile app and using a fixed bottom navbar. But the app is acting a little weird. When I tap the background twice, the navbar disappears or moves up a little. how can I fix this problem?

Member Avatar for rotten69
0
125
Member Avatar for hlamster

I have the show/hide table rows function working great now (thank you), but I am having a problem with using the back button. If someone has yes to one of the items (yes/no radio buttons) the onClick event in the input tag causes the appropriate info to display. BUT when …

Member Avatar for AleMonteiro
0
444
Member Avatar for bettybarnes

Hello! I want to ask your help so I could now continue developing my first Win 8 app using HTML5/JS. The current app I have, has 5 questions per set with 4 choices. But I want to have a customized choices for each question. For example, 1.) Capital city of …

Member Avatar for AleMonteiro
0
141
Member Avatar for Vijaysurya

Hai Everybody, i have did multiple image uploader(max 20 images). the uplaoded show in 3 different groups. group 1:first 2 pics group2: after 3 pic group3: after 4 pic again start group1 anybody plz help me. var c; var pCrop; var crop_api; var rotate = false; var temp; var tempZIndex; …

Member Avatar for AleMonteiro
0
120
Member Avatar for rubai

I have a simple jQuery code for toggle. I want to apply it in multiple <div>s as more I need. here is the code: <!DOCTYPE html> <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script> <script> $(document).ready(function(){ $("#flip").click(function(){ $("#panel").slideToggle(500); }); }); </script> <style type="text/css"> #panel,#flip { padding:5px; text-align:center; background-color:#e5eecc; border:solid 1px #c3c3c3; } #panel { …

Member Avatar for elneco
0
498
Member Avatar for Szabi Zsoldos

Hi guys, I have an ideea of doing 3 form validations from one file The content of the file is //detalii 1-categorie var categorie = new Validator("categorie"); categorie.addValidation("add_categorie","req","Va rugam sa va completati categoria"); //detalii 2-subcategorie var subcategorie = new Validator("subcategorie"); subcategorie.addValidation("add_subcategorie","req","Va rugam sa va completati subcategoria"); //detalii 3-continut var continut …

Member Avatar for Taywin
0
168
Member Avatar for Arjun_Sarankulu

I have String. Var Str = "INC300051546,INC300051553,INC300051561,INC300051579" I want to check there should not be seperator other than comma in the string. And Comma Seperated String should contain INC as 1st three character and after that 9 digits followed by comma. Is there any regular expression to validate the string.

Member Avatar for Taywin
0
174
Member Avatar for bettybarnes

Hi, I'd playing with JavaScipt nowadays. I'm trying to display the selected value in a dropdown list (those values are the array elements). Here is what I've tried so far: <html> <head> <script type="text/javascript"> window.onload = function() { var artists_arr = new Array(); artists_arr[0] = "The Beatles"; artists_arr[1] = "The …

Member Avatar for Bachu
0
841
Member Avatar for RaXaaa

well I've been searching for this from hours now, and also tried to look in this forum. or maybe I dont know what is it called. I'm searching for a script to display featured products on my website, in a sqaure box on right side. but it shouldn't be so …

Member Avatar for RaXaaa
0
115
Member Avatar for sofie_mukri

hello, i am sofie. here is my code. <tr><td><label for="Cname"> No of Partipants:</label></td><td> <select style="width:160px;" id="text" name="participants" required="required" > <option id="" value="" name="">-Select participant-</option> <option id="1" value="0" name="" >1</option> <option id="" value="1" name="" >2</option> <option id="" value="2" name="">3</option> <option id="" value="3" name="">4</option> <option id="" value="4" name="">5</option> <option id="" value="6" name="">6</option> <option …

Member Avatar for sofie_mukri
0
231
Member Avatar for jonsan32

I've implemented this dialogue box that shows a preview of the site you're abuot to go to. All looks good until I add more links on the same page. I've tried to adjust my div from absolute to whatever and have also fiddled around with the top - left spacing …

Member Avatar for jonsan32
0
121
Member Avatar for Patiodude

I've got a website with a splash page where users select one of two languages in which to access the page, and have the option of ticking a "remember me" checkbox, which would write a cookie. On subsequent visits to the splash page, the cookie would be read, and the …

Member Avatar for Taywin
0
172
Member Avatar for Violet_82

Hi peeps, quick question. I am debugging a script in IE (it's producing errors and I suspect it might be down to the selectors) and I was wondering if the below is correct. Guven the following html <div id="fruit_filter"> <h1>Compare the Toyota range</h1> <div class="filter_checkboxes"> <h2>fruit type</h2> <form id="first_filter"> <input …

Member Avatar for minitauros
0
259
Member Avatar for rohittripathi

hi everyone I have created one web page for website, these having four main Div but i have to do Show Div and Hide some Div using javascript or jquery in css. **Four main Div are:-** 1) **header** 2) **banner** 3) **Content** 4) **footer** :- on the website two div …

Member Avatar for JorgeM
0
155

The End.