15,113 Topics

Member Avatar for
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
194
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
286
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
Member Avatar for gagan22

Hi Everyone, I am using javascript code for removing some records. When i am click on delete selected button. I want this should demand one confirm button in which i want if we click OK in confirm box then the record should be removed from database and if i will …

Member Avatar for mail2saion
0
145
Member Avatar for ed7171

I would like to find out how to fix drop down menu over flash when the flash content brought by the java/script below into iframe? You may see what I am talking about here : [url]http://67.220.225.130/~ktaelot/#[/url] Here is the script: [CODE=javascript]<script type="text/javascript"> var fo = new SWFObject("ext/viewer.swf", "viewer", "100%", "100%", …

Member Avatar for ed7171
0
107
Member Avatar for nanna

hi, I have 3 inputs for quantities to be entered by user, then when user enters a quantity , I should get 2 results ; one in the first add-on total input textfield which is the quantity entered by user multiply by the fixed price for the first add-on (eg.3.75). …

Member Avatar for essential
0
120
Member Avatar for nrsbr

Hi I have a problem with my javascript the functions are not working, and I have a little knowledge about JScript. Firstly, the user will select from the list box a designer name, then a flower, and then a cake. The total will come up when the user clicks on …

Member Avatar for essential
0
330
Member Avatar for NinjaLink

I am doing a small program using a function to print out the real root or imaginary root. The problem is, it only prints out what the numbers that the user input. However, it does not print out the rest. For Example: It prints out this: a = 4 b …

Member Avatar for Fungus1487
0
125
Member Avatar for laural4705

Hi there, I found this great code that allows for chained selects with php and ajax. I have 2 boxes working great, and almost 3 - that is where I have a problem. Here is the code: [CODE] var ajax = new Array(); function getAgencyList(sel) { var bargainingUnit = sel.options[sel.selectedIndex].value; …

0
92
Member Avatar for Stefano Mtangoo

Hi all, I have MP3 player from [url]http://www.premiumbeat.com/flash_resources/free_flash_music_player/multiple_tracks_mp3_player_menu.php[/url] and I want to put it in my page. I want it to appear in every page. I'm pretty new to many PHP stuffs and with PHP page I judt do simple include statement. How do I do that? Here is their …

Member Avatar for Stefano Mtangoo
0
108

The End.