15,116 Topics

Member Avatar for
Member Avatar for technopup

Hi, I'm looking for some help. I need to add the letter "a" to the id of an option. The content is dynamic but you will get the idea from below. Any help would really be great. Thanks e.g. [CODE] <script type="text/javascript"> function Toggle(id) { document.getElementById("a18").style.display = "none"; document.getElementById("a19").style.display = …

Member Avatar for technopup
0
94
Member Avatar for applemist

I'm trying to trap a user entry that cannot be found in the database. When a code is entered, the page should give a "Code Not Found" message if it is an undefined value. However, it didn't; and it always shows the "undefined" value to the page instead. I'm really …

Member Avatar for Chokladkakan
0
116
Member Avatar for sakush100

I AM WEAK IN JAVASCRIPTING, PLEASE HELP ME.[B]THIS IS MY BASIC IDEA TO TOGGLE VALUES USING JAVASCRIPT[/B] [CODE] [COLOR="red"]<?php $xyz=5; ?>[/COLOR] <head> <script type="text/javascript"> var x; function displaymessage() { if (x==5) { alert("yes"); x=1; } else { alert("no"); x=5; } } </script> </head> <body> <form> <input type="button" value="Click me!" onclick="displaymessage();" …

Member Avatar for Ezzaral
0
173
Member Avatar for ndeniche

Hello ladies and gentlemen I've been trying to find a workaround this issue, and maybe you can help me find a solution. I've got a signature footer bar in a html document. This footer bar must display in several websites, in several domains, so i've been looking for an include …

Member Avatar for ndeniche
0
93
Member Avatar for Acute

Hi everyone, I need to upload image [U]without refreshing a page[/U] and [U]show the progress of uploading[/U]. How can i do it? Thnx

Member Avatar for Acute
0
54
Member Avatar for anu3138

hello all, how to use javascript in content page of asp.net. i put the javascript code below contentplaceholder . but it is giving an error. how should i use javascript. plz help me as soon as possible. anu

Member Avatar for dnanetwork
0
42
Member Avatar for dwssassin

In another thread I found that a good way to show and hide parts of a form based on previous entries would be as follows: [CODE] function showhidefield (method) { var hideablearea = document.getElementById("hideablearea"); var hideablearea2 = document.getElementById("hideablearea2"); var hideablearea3 = document.getElementById("hideablearea3"); switch (method) { case "1": hideablearea.style.display = 'block'; …

Member Avatar for Chokladkakan
0
88
Member Avatar for Fasola

I am creating a website for my company's helpdesk and need an Event Calendar for conference room reservations. User need to be able to check the availability of conference rooms and enter a reservation on the calendar. Please help

Member Avatar for atrueresistance
0
147
Member Avatar for mike3608

Hello friends I have made the below mentioned code, it is working but its second function to delete a row is not working: [CODE]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script> function generateRow() { var d=document.getElementById("sip"); d.innerHTML+="<p> <input type='text'></p>"; } function deleterow() { var f=document.getElementById("sip"); f.innerHTML-="<p> <input type='text'></p>"; …

Member Avatar for Airshow
0
84
Member Avatar for chintan@dani

Hello Friends Is there anybody who can tell me about Jquery? I know why one use Jquery but I want to know how to write jquery as per requirement?

Member Avatar for pritaeas
0
81
Member Avatar for Lolalola

Hi, how to run the second function only when the first will be completed in? [CODE]$(document).ready(function() { $("#first").load("first.php?id="+ Math.random()); $("#second").load("second.php?id="+ Math.random()); }); [/CODE]

Member Avatar for pritaeas
0
53
Member Avatar for Ejl191

I've been tasked with plotting various points onto a map. Due to financing and the nature of the project we can't use Google or any of that type of thing. So we have to do this the hard way using PHP or Javascript. I'm supplied a map(Mercator) and the coordinates …

Member Avatar for Ejl191
0
214
Member Avatar for dwssassin

So I want to show hide various parts of a form based on html form entries and this is what I have so far. [CODE]<script language="JavaScript"> function showhidefield(method) { if (method = 1) { document.getElementById("hideablearea").style.display = 'block'; document.getElementById("hideablearea2").style.display = 'none'; document.getElementById("hideablearea3").style.display = 'none'; } if (method = 2) { document.getElementById("hideablearea").style.display …

Member Avatar for dwssassin
0
169
Member Avatar for ello

Hi there, I need some help actually using the ajax I've got, and defining the url in the ajax [if that makes sense] I've been trying to do it but It's not working atall and I wondered if someone could actualy show me in the code how to go about …

Member Avatar for ello
0
110
Member Avatar for Donno24

Hi Everyone, I was wondering can someone with Ajax experience to have a look at the following PHP script. Its a simple domain checker. I am using sessions to pass data from page to page but when I get to this domain checker page and I search for a domain …

0
62
Member Avatar for emilyhedgecock

I have a simple html form and i have a small piece of script which validates it, I would like it so that after the validation is carried out, if the return value is true, then the user will be redirected to index.html i have tried several pieces of code …

Member Avatar for Taywin
0
7K
Member Avatar for Bordeaux0113

Hey everybody So I created a dropbox that would only enable certain entries in a second dropbox when specific options in the first dropbox are selected. For example, if A is selected in dropbox 1, then Z and X will be available for selection in dropbox 2, whereas if B …

Member Avatar for Taywin
0
136
Member Avatar for joevs

I am embedding a flash photo gallery object in an html page. The flash gallery has a param "thumbVisibility" that allows you to set the visibility of the thumbnails with the options "NEVER" and "ALWAYS." I have it set to "NEVER" so that the thumbs do not show when the …

0
89
Member Avatar for mands

Hi guys Im having a bit of trouble with my form, I basically want the values from the checkboxes to output to a div, I also want to give the check boxes a numerical value eg: if monday conference selected that would cost £80 if Tuesday conference selected theat would …

Member Avatar for Dokemion
0
323
Member Avatar for sharonig

Hi, I need to display a table with many rows. I would like to only paint one page and have the scroll bar of the containing div set to the real range. I would also like to listen to the scrolling event and then display the relevant set of rows. …

0
65
Member Avatar for iPeterS

Hi, I'm kind'a new to AJAX, and have not a lot experience with JS, so this might be just a stupid beginners-error... I'm busy creating a PHP-website in which i'd like to implement some dynamic features (like adding comments tot photo's without having to reload, searching a user-DB, etc). I've …

Member Avatar for iPeterS
0
133
Member Avatar for jamesyrawr

ok there's a game i want to try and make an application for using Java i have some knowledge of JavaScript but its only used for drawing pictures and graphs and arranging images :P what i want to do is create an app for a game called tribal wars so …

Member Avatar for peter_budo
0
95
Member Avatar for arungiri_10

how can i clear cookies from browser when ever i change any item from a drop down using javascript.....

Member Avatar for Daiva
0
85
Member Avatar for Lolalola

hi, now i get value if i selected checkbox(id which was selected), but how get value when i unselected (id which was unselected)? For example I push on 1, and i get value 1. When I unselect 1, i get value 1. I hope you understand my problem. [CODE]<script> $(document).ready(function() …

Member Avatar for pritaeas
0
89
Member Avatar for anu3138

hello all, i am having a problem.When i was working in an application without master page and content page, javascript was working finely.But later i needed to use mastr paga in my project.After using master page, javascripts is giving error on call of the function. error is like below. "Microsoft …

0
36
Member Avatar for Smudly

Hello, I've created two form fields (username, password). When a user comes to the page, the word "Username" is shown in the first form field. The word "Password" is shown in the second field. When a user clicks inside the field, the word inside the field erases automatically, allowing them …

Member Avatar for Taywin
0
141
Member Avatar for omega1

hi all, i am trying to have the content of a txt file loaded in a page (which works), but this file changes on a regular basis and I need just the text to refreash, not the whole page, this is what I have... As mentioned, it correctly displayes the …

Member Avatar for omega1
0
1K
Member Avatar for Acute

Hi, What i want is: I have a textarea. When user selects some text and presses a button "[smth]" is added to the begin and end of selected text. How can i do this? It must work on all browsers. The same thing makes daniweb when you format a text …

Member Avatar for Acute
0
290
Member Avatar for ello

Hey guys, I'm having some AJAX troubles that hopefully someone can help me with. I have some PHP code, which works fine. And I'm trying to call the PHP function with AJAX. But I've never used AJAX at all so I'm a little confused. I've tried to fiddle around with …

Member Avatar for ello
0
352
Member Avatar for jaycastr

hey huys i have a javascript ajax function that gets the parameter "id". I want to send it via post or get to a php file that gets database info based on the "id" but i cant get the id to transfer over to the php file. here is my …

Member Avatar for jaycastr
0
91

The End.