15,688 Topics

Member Avatar for
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
328
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
134
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
295
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
354
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
Member Avatar for baruchM

My school assignment is to use browser detect to get the name and variation of a browser. I have been looking for detectible features, but the codes are way long. Document.all is good for seeing if this is explorer 4+, but what is a good thing for finding explorer 7? …

Member Avatar for Taywin
0
146
Member Avatar for theheretic1984

My code gives me an error only the first time when i press the checkbox. If i press it for the second time or just to uncheck the checkbox and it gives me the right answer. Can you please help me, i tried almost everything. I use IE7, xampp with …

Member Avatar for theheretic1984
0
293
Member Avatar for blackoprogue

Ok, so here is what I've gathered together so far. I've got a countdown timer, that at the end of 180 seconds it executes the function clearit. The problem I'm having I would like to put a user chosen variable in place of the 180. Any help would be greatly …

Member Avatar for Taywin
0
77
Member Avatar for ApocDen

This is a very simple WYSIWYG Text editor that only has three options Bold, Italic, and Underline. just copy and paste on the page you want it on. it is really easy to add more features. ENJOY

Member Avatar for Taywin
0
347
Member Avatar for amit.hak50

I want to Build something very similar to the blue box on the page linked below. [url]http://www.designpublic.com/shop/inhabit/14520[/url] on my website: [url]http://www.apartmentdesignco.com[/url] on all the products page like this [url]http://www.apartmentdesignco.com/2010/apartment-furniture/indigo-slipper-chair[/url] would I want image or it is a box I can create via css Thanks

Member Avatar for JoshJ47
0
69

The End.