15,127 Topics

Member Avatar for
Member Avatar for Virangya

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 …

Member Avatar for Airshow
0
183
Member Avatar for ErangaD

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

Member Avatar for ErangaD
0
152
Member Avatar for clbembry

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.

Member Avatar for Brillig
0
163
Member Avatar for vizz

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 …

Member Avatar for vizz
0
1K
Member Avatar for ptemedia

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 …

0
126
Member Avatar for anandhikrishnan

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 …

Member Avatar for anandhikrishnan
0
10K
Member Avatar for Macko888

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 …

Member Avatar for Macko888
0
119
Member Avatar for sam230

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

Member Avatar for sam230
0
137
Member Avatar for extemer

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 …

Member Avatar for Airshow
0
177
Member Avatar for extemer

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 …

Member Avatar for ddymacek
0
176
Member Avatar for sid78669

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 …

Member Avatar for sid78669
0
102
Member Avatar for f_atencia

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.

0
63
Member Avatar for jamesyrawr

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 …

Member Avatar for Airshow
0
135
Member Avatar for mualanj

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.

Member Avatar for Airshow
0
97
Member Avatar for Mona Ali

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 …

Member Avatar for ansaripk
0
133
Member Avatar for naveenchander

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

Member Avatar for chandrannew
0
235
Member Avatar for Mona Ali

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" …

Member Avatar for Mona Ali
0
147
Member Avatar for blotind

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 …

Member Avatar for ddymacek
0
136
Member Avatar for abhinavM

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 …

0
110
Member Avatar for MDanz

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. …

0
74
Member Avatar for kavyya

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.

Member Avatar for Airshow
0
44
Member Avatar for samsons17

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 …

Member Avatar for tgreer
0
1K
Member Avatar for sid78669

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 …

Member Avatar for sid78669
0
193
Member Avatar for Waynef

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 …

Member Avatar for Waynef
0
147
Member Avatar for MDanz

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'; // …

Member Avatar for Airshow
0
137
Member Avatar for momonq1990

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 …

Member Avatar for Amr87
0
78
Member Avatar for extemer

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 …

Member Avatar for Amr87
0
551
Member Avatar for McLaren

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.) …

Member Avatar for McLaren
0
225
Member Avatar for Jamesiscrazzy

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 …

Member Avatar for Jamesiscrazzy
0
233
Member Avatar for hajjo

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?

Member Avatar for Admiral
0
75

The End.