15,127 Topics
| |
Hi, i have this part of my code that is put through a while loop, in other words it basically displays a lot of different products for an online shop, what i want is that when the add button on one of the products is clicked, it takes the quantity … | |
i have the folowing code <?php $datumeind = date("Y-m-d");// current date $datumverleden = strtotime(date("Y-m-d", strtotime($datumeind)) . " -99 year");//current date -99 years $datumbegin = date('Y-m-d', $datumverleden); if(isset($_POST['zenden'])) { if($geboorte_datum <= $datumbegin && $inleven_dood == 'In leven' ){ ?> <script type="text/javascript"> <!-- var r=confirm("Klik ok als In Leven."); if (r==true) ("<?php … | |
Hi I am unable to retrieve values from json object.The json data as coming like this when observe from firebug : [{"PROJECT_ID":"CASEENO"},{"PROJECT_ID":"DARKROOM-2"}] This is my ajax code: $.ajax({ type: "POST", url: "getdata.php", dataType: "json", data: { 'dataString': projectid }, cache:false, success: function(data){ alert(data); for (var i = 0; i < … | |
Hi! Anyone can please tell me the best online tutorial of Ajax for Java Programmers. Thanks | |
I want to get a pop like save As in a HTML page .In the Page i am writing all my data And I append it to a variable . And i attach it to a tag in the page which is the hyperlink to save the file . I … | |
I use 4 radio button with the same name , and with same className, When Ever I try to get the value by using JavaScript it gave an value "Undefind" ,How to over come this???? alert(document.getElementsByName(m1).value); this is used by me to get the value of m1 name radio button … | |
**I have a fairly simple script, but I'm having trouble sizing up my randomly displayed images. I want them all to have the height of 150px. Any help would be great. Thanks! code below:** <script type="text/javascript"> window.addEventListener?window.addEventListener('load',function() { ray.rand('thisCell'); },false): window.attachEvent('onload',function() { ray.rand('thisCell'); }); // FF : IE1 var ray= … | |
Hi, Im working on a html5 parallax site. I have a problem with the javascript, that it is not detecting the screen resoultion thought I have right css files in my folder. My js detects for one type of screen resolution but it is not detecting the remaining screen types … | |
Hello, and congratulations for this beautiful and meticulous forum. I have a javascript/html/css issue that I'm trying to solve for about 3 days now, with no luck. I'm using javascript to toggle the visibility of a certain table. I set the table's display property to none (via js) in order … | |
I am wondering how I can hide all divs on the page only using Javascript, I cannot use Jquery. Is there a way to do this without using the arrays that comes with document.getElementByTag? Or if there is not, could you show me how to hide all? Thanks! | |
Hi everyone, I want to get started on learning jQuery Framework.I got the basics of the JavaScript at this stage. But now, I don't know where to start with jQuery. Other than the jQuery.com website. Would you suggest easy-to-follow introductions to jQuery? Is there a big difference between jQuery and … | |
New here and looking to make a web application for mobile devices. I am a newbie programmer as well and have some experience making websites and simple c++ programs, so I do have an understanding of some languages. I want this application to access a subscription website and retrieve certain … | |
Hello, Here is the url : http://help.dottoro.com/ljqhsrpe.php Snippet available in above link not working with firefox. Version :14.0.1 OS :XP | |
Hi, <script language="JavaScript"> function Validate() { var image =document.getElementById("image").value; if(image!=''){ var checkimg = image.toLowerCase(); if (!checkimg.match(/(\.jpg|\.png|\.JPG|\.PNG|\.jpeg|\.JPEG)$/)){ alert("Please enter Image File Extensions .jpg,.png,.jpeg"); document.getElementById("image").focus(); return false; } } return true; } function refreshParent() { var URL = unescape(window.opener.location.pathname); var PARMS = unescape(window.opener.location.search); // window.opener.location.href=window.opener.location.href; var ms = new Date().getTime(); window.opener.location.href="/HousewareAdmin-web/categories_create/"+ms+PARMS; } … | |
I need that when i click a button to open a popup text box(something like the box used for images) , and i need to use it whith php , to put it in php code so i can put it to show me a php string that i extract … | |
What I am trying to do is a prize page that comes up every XX pages surfed. The new page would consist of three muscle cars that the user would click on their choice (hood is down). Choice would appear with hood up, showing engine which would have a changeable … | |
I am trying to check for the background of an element, here is my code. But it doesn't work: I tried two ways, here is the first: function changeColor(field) { if(field.css('background-color','#ffb100')) { field.css('background-color','white'); } else { field.css('background-color','ffb100'); } } here is the second: function changeColor(field) { if(field.css('background-color') === '#ffb100') { … | |
Hi I have a function that reads a numeric value from a dropdown menu 'onchange'; the thing is, I have a couple of menus like that, and I would love to make my function more generic, so it would not need to be repeated every time for every dropdown menu... … | |
hello, I seem to be having an issue. I can not get my Ajax contact form to work on IE. It seems to break the page and everything runs together and all print is layered on top of itself. Any thoughts? | |
I'm building a CMS in PHP and this is my first attempt to use ajax to do something cool. It's making my queryies problematic, however. I'm writing in this forum because my PHP forms worked fine before I did the following: On my index page, I have a header with … | |
I need a guidance for making a website. I wanted to know how can I make a website like, from the below websites. 1. http://www.mohi.me/ 2. http://leotartari.com/ I am interested in learning the slider of each section. I know the all basics (HTML, CSS, Javascript, PHP, ...). So please just … | |
Hello, I have one CMS with fixed layout. In that I have make few changes depends on my current URL. If I am on my home page so This class given below is **div.layout-column.column-main.with-column-1.with-column-2 = width:790;** And If I am of some other page so this same class look like … | |
Hi, Can't find what I am looking for anywhere and it's driving me crazy. I have a page on which I have 10 spots for images. Each spot needs to fade in/out about 5 images each, in a continuous loop. I can fade in/out on multiple images in a loop … | |
How can I execute a function that will run while the client is waiting for the server response? Here is my code. I looked up and found a .load() function, but how does that fit into this? Any help would be great! Thanks $.ajax({ type: "POST", url: "mail.php", data: {name: … | |
Hi. I'm trying to create a small editor for a website. One of the features is a drag and drop interface. I'd like for the user to be able to drag elements to another position in the page. I was thinking of having an iFrame of the site, and applying … | |
Hi I'm working on a form validation script. Up to this point, I've only written very basic regex validations. The input that I'm trying to validate should have entries in the following format AAA111 separated by comma space. So some sample entries are : `ABC111` or `ABC111, ABC112, ABC113`. Here's … | |
Simple instant price quote calculator javascript Hi there, I am trying to come up with an instant price quote calculator in javascript. Below is a sample of what I need Price per Meal Price per Week Shipping & Handling included Tax estimated Total Please let me know what other information … | |
Hi there, I am working on a website at the moment and I am using the firefox console quite a lot. I am in the process of testing a script and I have noticed something really odd, hopefully somebody might be able to tell me whether there is something I … | |
TrafficMad Dear Sir, I am trying to help a friend develop a “ prize page” for an existing site. While researching this I came across a script that I think this script could be adapted for my idea without too much trouble. Below my signature is the old “Lets Make … | |
I have some line of javascript which is works well if it gets value from the same series of names. But I have a problem later when each values passed to another page which I'd like to break down which value is belongs to. So the question is how can … |
The End.