15,116 Topics

Member Avatar for
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
100
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
319
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
199
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
177
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
262
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
122
Member Avatar for awk

So I've just been getting into jquery, been reading some tutorials and I've found myself very confused to do with event delegation/rebinding Basically: User clicks "Show Users" result is retrieved using jquery and is a HTML forms and placed into <div id="listusers"></div> Then when they click the submit button jquerys …

Member Avatar for bonfire89
0
103
Member Avatar for jheichimiste

Hi, I need help. Im an new to this one. I have been into web designing for a long time. Just the designing part... I'm new to JavaScripts and PHP.. cant hey go together to create a web site that can work with the dynamics of both server sided and …

Member Avatar for mikecronauer
0
130
Member Avatar for Ana D.

Hi, In my ASP.NET page I have a TreeView where ShowCheckBoxes="Leaf". I want to mark as checked/unchecked all the visible checkboxes by clicking in a button. My code for selecting all/none nodes is like this: [CODE=javascript]function selectAllNone(tvID, value) { var tvNodes = document.getElementById(tvID); var chBoxes = tvNodes.getElementByTagName("input"); for (var i …

Member Avatar for ananthat
0
2K
Member Avatar for willrose84

I have a java tab script but it only shows the correct data for tab 1 on intital load if you go to another and then back to it it says undefind it is getting a variable from a php page var tabs = [ //first tab [ //tab image …

0
69
Member Avatar for techie929

Hi, I have a variable time whose value is: time = 2010-09-17 20:00:00 I want to split this value using jQuery or java script. After splitting year=2010 month=09 date=17 hr=20 min=00 sec=00 Thanks.

Member Avatar for Airshow
0
67
Member Avatar for webdev2010

Hi, So far most of my web development experience has been in HTML... I am looking to create a design form similar to one found at [url]www.alliancetag.com[/url]. Basically I will just produce 2 colors of paper, 2 sizes, with 2 lines of text but I want the end user to …

Member Avatar for Airshow
1
273
Member Avatar for FlyByNight73

Hi, I have a list of divs with IDs which are just incrementing numeric values. I want to select a subset of those divs with IDs between say 7 and 12, like this: $('.myDivs[ID between 7,12]').doSomething(); Anyone know how to do this? I can't find anything in the jQuery docs …

Member Avatar for FlyByNight73
0
115
Member Avatar for avario

I am trying to set up a sort of instant messaging system on a site I am creating. Users submit their messages which are then stored in a database. Other users looking at the page should then be able to see this message as soon as possible. The only way …

Member Avatar for avario
0
138
Member Avatar for hotice47

hi i am trying to make a chat system ...using flash and php everything is done but cant update user-list in real-time ...i have Google it and find nothing ...can any one help me to update user-list as the come and go real-time.... using ajax/jquery/javascript or any thing....

Member Avatar for hotice47
0
86
Member Avatar for johnkj

i'm trying to load an page into my site using [CODE]href="javascript:ajaxpage('page.html', 'containerdiv');[/CODE] while the external page is loading is it possible to show some loading animation in tht div [COLOR="Red"]Please help me!!![/COLOR]

Member Avatar for johnkj
0
93
Member Avatar for techie929

Hi All, I have to fetch data from an xml file which will provide start and end date of an event.There will be various events. I have to make a weekly calender using jQuery which will display all the events in one week. And there will be two buttons:Previous and …

0
52

The End.