15,120 Topics

Member Avatar for
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
271
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
204
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
109
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
141
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
844
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
93
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
205
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
118
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
139
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
86
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
127
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
66
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
Member Avatar for Dabeam

How do i use a function to find the average of the values in an array of numbers passed as argument to a function.(using java script) thank you for your help...

Member Avatar for Airshow
0
102
Member Avatar for STUDENT#101

please help with this program it outputs and stores the last data added into the array(replaces all other data with the last data that was stored in the array). [CODE]<html> <head> <script language="javascript"> function Book() { this.title="not yet selected"; this.isb="" this.copies=0; this.price=0.00; } var obj=new Book(); function begining() { //alert("the …

Member Avatar for Airshow
0
117
Member Avatar for goodluck4287

I've searched around, and the closest I have found is at [URL="http://www.ajaxim.com/"]AJAX IM.[/URL] Seems nice, and has pretty good functionality. I don't know if it has a sitewide setup, and I am wondering if there is a solution that might have the same style as facebook by having a small …

0
54
Member Avatar for thenamenoonehas

Hi everyone, Im very new to the ajax world and have been looking at using jquery for most of my Ajax work. However I am trying figure out how i would poppulate a select box with an ajax call. Would anyone have a super simple function or script that will …

Member Avatar for essential
0
104
Member Avatar for efuzone

hello all users, i hope you all are fine Allah bless you always. i come here for some little help. actually i have made website in html and simple php pages. its ok for me but i want to add there one ajax code which is like before page open …

Member Avatar for jakesee
0
69
Member Avatar for Dabeam

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

Member Avatar for Airshow
0
90
Member Avatar for zdravim

Hello, I'd like to ask you guys for an advice. Got this function to request some sentences from database (using php file with mysql_query(SELECT *...) stuff, then echoing the result and passing as a parameter to function displaySent(oXHR.responseText, select_sent) - which displays this text using some parsing procedure into the …

0
36

The End.