15,120 Topics
| |
<html> <head> <style type="text/css"> /*#pwidget { background-color:lightgray; width:254px; padding:2px; -moz-border-radius:3px; border-radius:3px; text-align:left; border:1px solid gray; }*/ #progressbar { width:30px; padding:1px; background-color:white; border:1px solid black; height:10px; } #indicator { width:0px; background-image:url("shaded-green.png"); height:10px; margin:0; } /*#progressnum { text-align:center; width:250px; }*/ </style> <script type="text/javascript"> function disp_text() { var w = document.myform.mylist.selectedIndex; //alert(w); var … | |
| I'm having an issue accessing values of an AJAX response from a PHP script. I'm using an `alert()` for debugging purposes to show the data and it shows "undefined" as things are done below. Here's what I have so far. jQuery AJAX request: $(".edit").click(function(event) { var id = $(this).parents("tr").attr("id"); alert(id); … |
Hi, I am creating an app using PhoneGap and I'm having trouble getting the selected id of a listview item when it is long pressed. I have tried using the JQUeryMobile TapHold event which works but only gets the ID of the listview, not the individual items. $('#listview').bind('taphold', '> li', … | |
hi im new to this ive got a question is it possible to link an item to start another javascript? possibly with an on click funktion ? so that the javascript only starts once you click an item on the navigation bar? <script type="text/javascript"> $(document).ready(function(){ $.uiPro({ leftMenu : { 'item1' … | |
Hi , I try form many days , but unable to do anything on this niche , Finally I come here to resolve my problem , please help me on that, Problem : I try to add a serach box which search from database and show top 5 result below … | |
Hallo everyone! I've a question about jQuery load function .So I have the following page .. I have to load this page : https://www.mann-hummel.com/online-catalog/EU/rum/vehicle Is that code correct? <html> <title>Load function</title> <head> <script src="http://www.filtreautomobile.ro/core/jquery-latest.js "></script> <script src="http://www.filtreautomobile.ro/core/function-demos-script.js"></script> <script type="text/javascript"> var JQFUNCS = { runFunc: { "load": { run: function(id) { … | |
I have a page which does an AJAX call and loads an entire page. The page that gets loaded has some Javascript. The javascript works on page by itself when loaded, but when its gets loaded by AJAX, the Javascript does not work. I dont know what I am missing. … | |
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 … | |
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 … | |
| **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. |
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 = … | |
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] | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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, … | |
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 … | |
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 … | |
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, … | |
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" … | |
<%@ 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) … | |
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? | |
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 … | |
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 … | |
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; … | |
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 { … | |
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 … | |
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. |
The End.