15,121 Topics

Member Avatar for
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
104
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
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
320
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
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
263
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

The End.