15,127 Topics

Member Avatar for
Member Avatar for hellomadhur

Hi, I have set of html pages that are installed locally on machine. I want to make ajax call to local files. In Firefox everything works fine. IE is able to load html pages through ajax call but not able to load xml document. Chrome doesn't support ajax call locally...and …

Member Avatar for hielo
0
3K
Member Avatar for hellomadhur

Hi, I need xml data to be used in javascript. When I embed the whole xml in html page then I am able to access xml. But when when I use src tag I am unable to get xml file. Code is below: XML Data island in html page. [CODE]<xml …

Member Avatar for hielo
0
104
Member Avatar for khaleel_rashid

this is my function which is calculating values. But if any of the values is empty it does not calculate the total payment value. if there is any simple way to calculate pls let me know [CODE]function startCalc(){ interval = setInterval("calc()",1);} function calc(){ room_charges = document.ipd_bill.room_charges.value ; lab_charges = document.ipd_bill.lab_charges.value; …

Member Avatar for hielo
0
99
Member Avatar for aizel

i am new in js and i have a problem on auto click a link..after the slide show of the images i want to auto click the last image, is it possible? this code below that i have search it redirect the link without showing the image slide show.. [CODE] …

Member Avatar for aizel
0
3K
Member Avatar for ebohatch

I have a javascript test function to determine if items have been entered but it appears that the function never completes, it runs the for loop but not the items after it??? I can produce a screen capture video of the events that happen, contact me and I will send …

Member Avatar for ebohatch
0
121
Member Avatar for ello

Hey guys this is kind of a JavaScript question but the script works elsewhere so I have a feeling it's got something to do with the fact it's being echoed by php. Can anyone tell me why this isn't working: [CODE] if (($_SESSION['count'] % 5 == 0) && ($_SESSION['countView'])) { …

Member Avatar for diafol
0
161
Member Avatar for Siberian

I'm having problems getting this button to work here is the HTML [CODE]<head> <script type="text/javascript" src="Objects.js"></script> <title></title> </head> <body> <form> <input type="button" value="Go Searching!" id="work_car" /> </form> </body> </html>[/CODE] And here is the JavaScript: [CODE] function car(seats,engine,theradio) { this.seats=seats; this.engine=engine; this.theradio=theradio; } var work_car=new car ("cloth","V8","Tape Deck"); b1.onclick=work_car(){ document.write=("I want …

Member Avatar for Airshow
0
225
Member Avatar for bsewell

I'm trying to create a dynamic menu using jQuery, so I've built a basic one and I'm having problems making it look more impressive. At the moment, I can click on an item and the contents will be displayed above the rest of them. I want the content to slide …

Member Avatar for Airshow
0
120
Member Avatar for dev.vini

hi i have two listbox that contain values in its list and from two diffrent table when i will select any value in first drop down box than second listbox will automaticaly load all related valus of i.e +---------------+ ! ---select--- ! !_______________! +---------------+ ! ---select--- ! !_______________! see it …

Member Avatar for Airshow
0
59
Member Avatar for nikita.chandra

Unable to redirect to the page using window.location of javascript for the code given below [CODE]<script language="javascript"> function confirmation() { var answer = confirm("Do you want to add more Bussess?") if (answer){ } else{ alert("Thanks for using Bus Entry form") window.location = "adminHomePage.jsp" } }[/CODE] Anyone can tell me the …

Member Avatar for Airshow
0
105
Member Avatar for SANTOSHJ87

Hi, I've been trying to get my webpage to send data via java script, AJAX, xmlhttprequest. i'm using IIS7 It definitely is the write path and stuff because i do get a responsetext but the response returns the entire php code in that file. Does any1 have any idea what's …

0
63
Member Avatar for mg4

Hi, I'm fairly new to javascript and am trying to figure a relatively simple thing out. I have two drop-down selectors I want to display, one that lists countries and one that lists cities in the selected country. I want it to be the case that on changing the country …

Member Avatar for Taywin
0
101
Member Avatar for nikita.chandra

here is the java script where i used window.close() function but it's not working. <script language="javascript"> var answer = confirm("Session expired! Want to go to the home page?") if (answer){ window.location = "index.jsp" } else{ window.close(); }

Member Avatar for Taywin
0
99
Member Avatar for pietpiraat

Hello everyone, i'm using jQuery datepicker with the weekselector like this: [CODE]$(function() { $('#startPicker').datepick({ renderer: $.datepick.weekOfYearRenderer, firstDay: 1, showOtherMonths: true, rangeSelect: true, minDate: '+1d', onShow: $.datepick.selectWeek } ); });[/CODE] what i would like to achieve is to only show weeknumbers, i need a weekselection only, does anyone know how to, …

Member Avatar for pietpiraat
0
144
Member Avatar for rickkyric

Hi All, AJAX beginner here... 1. I have a function in .js that creates and gives me xmlhttpRequest-object. It works fine when I call it from a few .js files of my project, but has just started returning null value to a call from one of the .js files which …

Member Avatar for hielo
0
43
Member Avatar for deval198

Hello All, I have one Requirement that when user clicks on any point on gmap there will display route between that path. if User clicks on 5 points then on gmap route between that 5 points will be displayed. Thanks.

0
43
Member Avatar for ektron

Hello DaniWeb kings and queens - Here is a simple jquery .animate block here's the code: [CODE] <!DOCTYPE html> <html> <head> <title>TestingJ</title> <meta name="description" content="Mseed Web Design" /> <meta name="keywords" content="web design, programming, scripting" /> <meta name="author" content="Eric Karen" /> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <link rel="stylesheet" type="text/css" href="/css/global.css" /> <script …

Member Avatar for pritaeas
0
140
Member Avatar for lifeworks

Hi Im trying to make a script which when I click on the list element... it will replace a big image with anotehr picture. The list element is a thumbnail... and I want to swop the big image with the big version of the thumbnail. Each <li> has a rel …

Member Avatar for lifeworks
0
321
Member Avatar for andrewliu

Hello, I have a search engine that I've created. It searches my MySQL database, but I was wondering how do you make it so it won't refresh the page? This is my form.php [CODE]<?php global $search_term; global $location_term; ?> <form action="index2.php" name="form" style="float:right;width:650px;height:60px;margin-right:30px;" onSubmit="return searchLocations();" > <table style="float:right;"><tr> <td> <label …

0
96
Member Avatar for ppetree

I just posted an AJAX forms generator that will read a MYSQL table, allow you to define how the fields are treated and then generate the necessary HTML, Javascript and PHP files to implement the form. You end up with a complete and working form backed by code thats very …

0
65
Member Avatar for drostydw

Howdy y'all, Got a question, why were here right, I have a page that is server side - no html included all php - I need to call/include a javascript function to handle a rather complex parsing routine but I am not sure how I go about calling the function …

Member Avatar for Nyight
0
200
Member Avatar for jeepin81

Hello, I apologize in advance for such a novice question. I have an ajax popup on mouseover but my problem is on certain resolution screens, it goes beyond the viewport. So, if the popup is near the right of the screen, I want it to popup on the left and …

0
47
Member Avatar for george61

Hi all. I'm working on an entertainment site and I need some script for displaying random flash game. I want the following: the user is playing some game and when he clicks on a dice icon the game dissappears and new game appears on the same place because I don't …

0
78
Member Avatar for deval198

Hello All, I have one problem with gmap api. I want that when user click anywhere on gmap it will give the longitude and latitude of that point at that time. Then what is the js code for that. If any one knows that then inform me. Thanks.

Member Avatar for pritaeas
0
41
Member Avatar for world_weapon

Well, I just got finished spending a couple hours looking for a solution to an issue concerning the background image. Originally, I was not able to get it even close to the manner I wanted it to work. However I have made it to a decent point. The original idea …

0
100
Member Avatar for pavanpj

Hello, i struggle to get start time and end time from selected day in fullcalendar...pls let me know..its urgent.. below sample code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <base href="http://arshaw.com/js/fullcalendar/examples/" /> <link rel='stylesheet' type='text/css' href='../fullcalendar.css' /> <script type='text/javascript' src='../jquery/jquery.js'></script> <script type='text/javascript' src='../jquery/jquery-ui-custom.js'></script> <script type='text/javascript' src='../fullcalendar.min.js'></script> <script type='text/javascript'> …

0
81
Member Avatar for QWaz

Hi, I am really new to javascript, really starting to learn it now, so be nice. :) am wondering if it's possible to find out if a user clicks the (X) to close the window or browser? and also if it's possible to find out if they navigate away from …

0
90
Member Avatar for MDanz

The font size is 28px. How do i change the font size to 12px onfocus? i tried below but it isn't working. [code] <textarea name='content' style='font-size:28px;' id='content' onfocus='font-size:12px;'>test</textarea>[/code]

Member Avatar for hielo
0
178
Member Avatar for baseballfury

Hi all, My problem is i've got this form that submits fine but when i try to redirect it i keep getting an error. I want to redirect to another page so the user can't refresh the page and submit the form multiple of times. I've been using 'header' to …

Member Avatar for Airshow
0
264
Member Avatar for amazed

Hi I am using this script. [url]http://digitalhymn.com/argilla/tipmage/[/url] **It is not possible to apply Tipmage to more than one image in a single page** [B]Is this possible to apply this class to more than one image?[/B] Thanks

Member Avatar for Airshow
0
123

The End.