15,127 Topics

Member Avatar for
Member Avatar for aashishn86

Hi!! I have to hide/unhide some fields on basis of some other fields... so , i found this script on the web. i can't understand the function completely what is the if ( txt.match(id1) ) block doing ?? is there any other way of doing the same... [code] <!DOCTYPE html …

Member Avatar for essential
0
140
Member Avatar for aashishn86

Hi!! How can i change the field names dynamically? eg i have a radio button depending on whose choice i have to make another field mandatory, if Yes. Field one is mandatory Else Field one is optional. For a mandatory field i have the validation funciton as well, that it …

Member Avatar for aashishn86
0
99
Member Avatar for galaxygal

I want to use a javascript (codethateditor) to provide a rich text editor in an administrative area of a site. Problem with this script. See code below: [code] <script language="javascript1.2"> <!-- var editorDef = { text : '#get_text.text_content#', style : { width : 400, height : 400, defaultClass : { …

Member Avatar for Airshow
0
110
Member Avatar for tamil.munusamy

Hello, When the JS file is not working at the time of Ajax files is called. on first time the onmouseover JS is working but , if you call the ajax JS is not working.

Member Avatar for tamil.munusamy
0
91
Member Avatar for servis

i want to populate drop down box values on the basis of other drop down box value dynamically(without refreshing the page) using java script. i tried to search on google, but could not find anything. please can anybody help me in this regards. Thanks

Member Avatar for servis
0
199
Member Avatar for rajeesh_rsn

Hi i had php form in a page and I make the submit function using a javascript function ( some thing like protypes.js ). It is working fine in IE , Opera ... Nut doesn't in Firefox. Here is the code. Please any one help me to work in Firefox …

Member Avatar for essential
0
148
Member Avatar for kinger29

I want a box/frame/applet on my html webpage that will display an image and depending on where the user clicks i want text to popup/disappear somewhere else in the image. Does anyone know how to do this in javascript. Sorry Im new to web development and couldn't figure out how …

Member Avatar for almostbob
0
122
Member Avatar for ukbasak

Please anyone provides code with examle to disable the Close (X) button in title bar. If user wants to click automatically a dialog box must appear with message 'This is disbale'... Thanks

Member Avatar for almostbob
0
278
Member Avatar for rodmastar

I am not a java guy.. but made this code ( to open new page sized.. on another page of mine but darn i can not get it to do so on this page? Is it a DIV thing... new to these tags too/// [url]http://www.mastar.com/Presentations.html[/url] Where it say Teamviewer button …

Member Avatar for rodmastar
0
205
Member Avatar for HelenLF

I have a drop down box in a form like this... [code]<select name="product[]" id="unitcost"> <option value="92">92mm</option> <option value="130">130mm</option> </select>[/code] The value selected is passed to a shopping cart. However, I also need to pass a unit price which is different depending on the value selected. Can anyone give me any …

Member Avatar for HelenLF
0
110
Member Avatar for sandeep_more97

Hey Hii .... I am solving this problem from last 2 days.... but unable to find solution. What i am doing is ..... On click of submit button i want to send email and i am taking client to paypal page to do the payment..... i. e. i want to …

Member Avatar for essential
0
4K
Member Avatar for knrakesh

Hello Good afternoon Guys Iam KNR iam having a problem with javascript validation i want to check validation of all controls at a time means if i have a form with all fields blank then it has to show message and if any of the field is filled then it …

Member Avatar for essential
0
142
Member Avatar for Lleoun

Hi all, I have the following php script: [CODE] <?php $doc = new DOMDocument(); $doc->load( 'events.xml' ); $events = $doc->getElementsByTagName( "event" ); foreach( $events as $event) { $hours = $event->getElementsByTagName( "hour" ); $hour = $hours->item(0)->nodeValue; $minutes = $event->getElementsByTagName( "minute" ); $minute = $minutes->item(0)->nodeValue; . . . ?> [/CODE] events.xml contains …

Member Avatar for essential
0
850
Member Avatar for redhotspike

I'm supposed to switch the themes of the "headline" and the "text", but I can't seem to get it. Here's what I have so far...anyone have any ideas why it doesn't work? Thanks :) [code=javascript] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> …

Member Avatar for redhotspike
0
100
Member Avatar for bad_roo

Wondering if anybody could help with what seems a very simple problem but is taxing for this noob. I set myself the task of creating a button which, when pressed, switches the background color randomly. It seems to work well enough but the random number it works from only generates …

Member Avatar for bad_roo
0
94
Member Avatar for treyk4

I'm working a basic layout for a database application, and I'm having some issues with giving a text input focus in Internet Explorer versions 6 and 7. If you'll look at the webpage I'm currently working on ([URL="http://persuasionarmy.org/ADBi/"]http://persuasionarmy.org/ADBi/[/URL]) using IE 6 or 7, and you press Ctrl+Alt+A or Ctrl+Alt+S, you'll …

Member Avatar for Airshow
0
228
Member Avatar for bigtalk

I mostly work with PHP. I am not really a JavaScript guy at all, but in this day and age we all end up working with it a bit. I'm trying to do something that seems like it should be fairly simple. Unfortunately, I am not having any success getting …

Member Avatar for Airshow
0
210
Member Avatar for joeltonnberg

Hey! I'm using an ajax script to load external html pages into a div tag. The script works just fine, however I would like to use it in a jump menu. [CODE]<select name="Jumpmenu" > <option value="1" onclick="ajaxpage('page1.php', 'DivId');" >Option 1</option> <option value="2" onclick="ajaxpage('page2.php', 'DivId');" >Option 2</option> </select>[/CODE] The script works …

Member Avatar for essential
0
119
Member Avatar for tarview

I'm working on updating a website using as much AJAX as possible to give it a very streamlined feel. I've been able to do it for the most part, but have hit a snag. Let me first explain what I have working. I have tabbed navigation at the top of …

Member Avatar for tarview
0
122
Member Avatar for julseypart

Hi, i have been trying to use the javascript confirmation box to delete files from a Gridview, however when ever i click "cancel" on the box it still deletes the file! i really need some help, heres the code i have: [code=c#] <asp:TemplateField HeaderText="Delete File"> <ItemTemplate> <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="false" …

Member Avatar for mail2saion
0
149
Member Avatar for Potato.Head

Hi to all I'm new in the forum and I have the following question: can I share a javascript object between pages? I'll explain my self, I have a page that contains two frames: Currently I can call methods from frames, I was wandering if can retreive the all object, …

Member Avatar for Airshow
0
196
Member Avatar for LogicWeb

I'm trying to figure out why some of the ajax tabs are not working. The first two tabs work, the third through 5th tabs do not work when you click on them. The js file is tab.js and contains this: [CODE]// JavaScript Document function tab(){ var labels=document.getElementById("tab_product").getElementsByTagName("li"); var part_1=document.getElementById("part_1"); var …

Member Avatar for LogicWeb
0
140
Member Avatar for websurfer

Hello, I have a form that gets pre-populated from a url-get link that contains all url-variables that then get submitted into a database. That's all fine... but how can I make it so that when one submits it, the page closes itself? keep in mind this woulnt be a "popup" …

0
71
Member Avatar for paulchen82

Dear all, here is my AJAX file [code]<script language="javascript" type="text/javascript"> var xmlHttp; var temp; function showHint(str,IdDet,str2) { temp = IdDet; if (str.length==0) { document.getElementById("txtHint"+temp).innerHTML="&euro;0"; return; } xmlHttp=GetXmlHttpObject(); if (xmlHttp==null) { alert ("Your browser does not support AJAX!"); return; } var url= "<?php echo $mosConfig_live_site."/administrator/components/com_virtuemart/html/basketAJAX.php";?>"; if(window.location.protocol == 'https:') url= str_replace("http://", "https://", …

Member Avatar for johnnyN
0
152
Member Avatar for lapeque840

Hello, I have a problem and I donĀ“t know why, so I hope you can help me. I have two HTML pages like you and one file .js. I have included the .js file in both pages but once the two pages are load if any changes are make in …

0
39
Member Avatar for jonow

This also involves (what i think) advance flash knowledge (or not). Look at this website: [url]http://www.navigaya.com/main.php[/url] you see it has a music player as well as many other things. Can someone make something that is just the music player part? I know it woudl take a while but it woudl …

Member Avatar for jonow
0
87
Member Avatar for gezzalou

Hi, I am having trouble getting some javascript code to work correctly in mozilla. Shows fine in IE but only works in mozilla one something is changed. The code is simple as i am a beginner at this. Please see code below. Thanks in advance [code=JavaScript]<script language="javascript" type="text/javascript"> function ChangeQ2() …

Member Avatar for Airshow
0
128
Member Avatar for servis

i want to validate whether the checkbox is empty or not, if it is empty, the alert box show message, but the following code is not working... [ICODE] function validate(form) { with(form) { if(agreement.value.checked==false) { alert("Please commit the agreement to continue."); agreement.focus(); return false; } } [/ICODE] Secondly, i want …

Member Avatar for servis
0
289
Member Avatar for Dabeam

I want to use a for loop to display * ** *** in javasript does anybody know how?

Member Avatar for Airshow
0
67
Member Avatar for qaokpl

I advertise on the internet and they want me to link my webpage to their webpage with an dhtml code...Then they will list my website on their page..Thanks for all your help.I use geo cities page builder for my webpage.

Member Avatar for Airshow
0
73

The End.