15,127 Topics
| |
Hey this is my code.. I'm trying to display whats in "carefare" variable inside a div. But it's not working I have no idea. All names of the div's are correct. and when i use alerts(commented) correct values are displaying but it's not getting printed inside my divs. Always the … | |
I have 2 text boxes A and B I want the answer A-B displayed on A Text box 'onchange' event of B Please help me Thanks God Bless Eranga | |
I have a mySQL that is continuously being added to and I need to make an AJAX function that checks the database periodically and only returns the results that it hasn't seen before. | |
I am using following code to generate menus [CODE]<?php $menu = array(); $menu['home'] = 'Home'; $menu['mypage'] = 'My Page'; //Add in the format of: $menu['page name'] = 'Page Title'; $title='Home'; //Default title function generateMenu() { global $menu,$default,$title; echo ' <ul>'; $p = isset($_GET['p']) ? $_GET['p'] : $default; foreach ($menu as … | |
Hi, I have made an image gallery which all in all is working fine. However, there is the option of to play through the images using setInterval to change the image every 8 seconds. After all images have been preloaded, this works fine. In its current set up however, the … | |
Hi, Am new to javascript, i have two fields 1. Start time ( hh:mm:ss Am/Pm ) 2. End time (hh:mm:ss Am/Pm) i want to validate it. Start time should be always greater than end time. Eg: start time : 10:00:00 Am end time : 09:00:00 Am It should alert the … | |
Hey Peeps! been doing a bit of jquery latley and decided to implement some into my live site, now i know this is probably the most basic thing that i am missing, but i need some sort of stop() in my code, thing is, im not too sure where to … | |
i m using google map version 3. i want to customized the map type control show top-right corner.. i want to show all the type (map,statellite,terrain,earth) in one horizontal line (like its shown in V2). kindly guide me little.. thanks | |
hello friends i want to add confirmation box to my delete option in the pagination code so when the user want to delete the record before deleting it may as for the option yes or no...below is my code and the code in bold is the delete code.... [CODE] <?php … | |
hello friends i want to add confirmation box to my delete option in the pagination code so when the user want to delete the record before deleting it may as for the option yes or no...below is my code and the code in bold is the delete code.... <?php mysql_connect("localhost","root","")or … | |
I have the following code in a .js file: [CODE=Javascript] function clearVillage() { /*Do Something...*/ } [/CODE] Now in my HTML page generate through PHP, If I call this function through a link like this: [CODE=HTML] <a class="fg-button ui-state-default ui-corner-all" onclick="clearVillage();" >Clear Village</a> [/CODE] It works. However, if I replace … | |
Say I have the following XML variable: [CODE] var oResult = Server.CreateObject("MSXML2.DOMDocument.4.0"); oResult.async = false; oResult.setProperty("ServerHTTPRequest", true); [/CODE] How do I get the encoding to display in the header section? For example: [CODE] <?xml version="1.0" encoding="UTF-8"?> [/CODE] when I run it in the browser? Any help will be greatly appreciated. | |
Hi I'd like someone to just give me a hand getting a form to open up facebox and submit the form details via that. Ok they process I'm looking for help on is this When a user enters the details into the contact form and clicks "submit" it needs to … | |
how can i populate javascript array value from my text box, suppose i have a array like this var a=new array("1.00","2.00"); instead of 1 2 i want to put text box value in there,which user will enter. thx in advance,really appreciate it. | |
Hi to all i have done validation on my HTML page but the problem is that when i press the submit button it show the alert message that name field is not specified but when i OK that message then data enter into the data base without specifying the name … | |
Hi, I am new to ASP.Net. I would like to know if there is a way by which I can Call a Serverside script through a Javascript. Or else is there a way to Postback a page through a javascript function. Thanks in advance Thanks, NaveenChander | |
Hi to all i have done validation on single fields but i have to apply validation on 3 text field that at least one of thre is filled .i make a code but that logic doesnot work .. html code [CODE]<html> <head> <script type="text/javascript" src="jstest.js"></script> </head> <img src="idtech_logo.jpg" alt="logo" width="1500" … | |
Hi all the problem lies with the createJSON function for some reason it is breaking no idea why though. please advise... [CODE]<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="style.css" rel="stylesheet" type="text/css"> <title>User Details</title> <script type="text/javascript"> function validateForm(){ var x=document.forms["myForm"]["username"].value if (x==null || x=="") { alert("username must be filled … | |
I have a set of radio buttons.These radio buttons are associated with some questions for survey.I also have a Submit button.I want that as soon as I click the Submit button, the application should read the status of radio buttons.But I am unable to figure out a way of doing … | |
Can i get help correcting the code below? You can just copy and paste and try it yourself. Onmouseover the popup div appears. If i click(X) the popup div should close but it doesn't. Only doubleclicking (X) closes the popup div. Onmouseover it should always display a popup div though. … | |
Hi i'm in need of a DHTML program for design tourism management program.. Since i don't have idea on it i unable to design it.. pls help me. | |
I am confused right now, and there will be test about ajax tommorrow.. And i bumped into this getXMLHTTP() function in one of the code that my professor gave me and i not sure what it does exactly.I mean because i also see in the other code, that people are … | |
I have a javascript code that modifies the data for a hidden field on the page. The page is then submitted to php. The problem is although I can see the altered data in firefox when I select the section and do show source for selection, the modified data in … | |
Hi, Can anyone tell me how I would remove characters from a string if they are present? For example lets say I wanted to remove c:/fakepath/ from the string c:/fakepath/DSF102.jpg and just leave the DSF102.jpg how would I got about this? I got close but I need help. Thanks in … | |
This is a function for a slideshow,onmouseover i want it to stop. Instead of stopping the slideshow onmouseover, it speeds up?? How can i correct this to stop onmouseover? [CODE]<body onload="nextslide();">[/CODE] [CODE]function nextslide() { // Hide current slide var object = document.getElementById('slide' + current); //e.g. slide1 object.style.display = 'none'; // … | |
html code: [CODE]<ul class="item"> <li><a href="#">Menu Item One</a></li> <li><a href="#">Menu Item Two</a></li> <li><a href="#">Menu Item Three</a></li> <li><a href="#">Menu Item Four</a></li> <li><a href="#">Menu Item Five</a></li> </ul> [/CODE] srcpt code: [CODE] $(document).ready(function() { $('ul.item a').hover(function() { $(this).stop().animate({ left: 20 }, 'fast'); }, function() { $(this).stop().animate({ left: 0 }, 'fast'); }); });[/CODE] pls … | |
how to popup submit button while selecting item from the dropdown list. i had completed the task of displaying textfield while selecting item from the dropdown list but unable to figure out how to popup the submit button with textfield while an item is selected from the dropdown list...please help … | |
Hello, I have problem with submiting form in IE. This is the part of the code for submission. I am using jQuery validate and form plugins. On other browsers it submits. Tried ie7, ie8, ie9 and none of them submitted. (actually I tried on IE9, but in ie7, ie8 modes.) … | |
I've been trying to get this to work for alittle over a week and im about to lose hope in my capabilities. I need some help, someone who can write the working code and explain what is happening. Basically, i want to display a message that is called from posts.php … | |
I have <a title="jjj jjj" /> it appears as jjj new line jjj in itnernet explorer. but in firefox it ignores new lines and replaces them with space. any solution for this on firefox? |
The End.