15,113 Topics

Member Avatar for
Member Avatar for cwarn23

I have being trying to make a javascript code that will show different submenus depending on what was selected on the previous menu. Although my script has no bugs according to Internet Explorer it seems to not work in IE nor Crome. Can anybody see what's wrong with this code …

Member Avatar for cwarn23
0
93
Member Avatar for twistedind

Below is my javascript code. It seems to hanging up at the "var data = transport.responseText.evalJSON();" part. Here is a link to see how my html is made. [URL="http://twisted.visionsminis.com/price/compressors"]http://twisted.visionsminis.com/price/compressors[/URL] [CODE] if (!window.WAUpdater) var WAUpdater = new Object(); WAUpdater.Methods = { options: { redirectOnError: true, baseUrl: "", updateColor:'#666666', mode:"add", removeRow:null }, …

Member Avatar for kvdd
0
411
Member Avatar for amoliski

My router is stupid, and needs to be rebooted a lot. I've simplified the process down to http:192.168.1.1/restart.htm as a shortcut on my desktop. Once open, there is a JS button with the onClick command RebootDevice() If I first load the restart page, then type RebootDevice(), it reboots. Can I …

Member Avatar for almostbob
0
87
Member Avatar for Arumugams

Hi, I have a simple code which works well in I.E ,but it is not working in mozilla firefox 3.0..Why is it so. the code is as follows: [code=html] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Ajax - PHP example</title> </head> …

Member Avatar for essential
0
119
Member Avatar for Andy_nexus

Hey guys, i'm fairly new to ajax, and today discovered that javascript files won't fire within an ajax loader. my problem: i've built a web application using a mixture of javascript, ajax, and html. however this is designed to go on a page that already takes a little time to …

Member Avatar for ejosiah
0
123
Member Avatar for bamboebahr

Hello everyone, i'm an IT student (first year) and i've received a task to make a website for my school (fictional ofcourse). Now i have an idea on how to make it,but after asking my teacher, he said i cant use iFrames but have to use AJAX instead. The code …

Member Avatar for bamboebahr
0
98
Member Avatar for fiorano

Hi, I have the follow script as part of a hover drop down menu : [code]<!-- var timeout = 500; var closetimer = 0; var ddmenuitem = 0; // open hidden layer function mopen(id) { // cancel close timer mcancelclosetime(); // close old layer if(ddmenuitem) ddmenuitem.style.visibility = 'hidden'; // get …

0
46
Member Avatar for sivak

write the javascript code to hide a particular label in c# .net..can any one tel me?

Member Avatar for ddanbe
0
76
Member Avatar for Potato.Head

Hi to all, I have the following problem: I have a page that includes an iframe, this iframe is dynamic (meaning that I don't know what will be its source, user can insert any URL). The problem is that are some URLs that take over all over the site, I …

Member Avatar for samarudge
0
117
Member Avatar for veledrom

Hi, I use onmouseover and out for <td> or <div> to change either backgroung image or color. However, onmouseover and out are not validated for HTML. w3scholls HTML validator doesn't validate them. How can i solve this problem? Thanks

Member Avatar for essential
0
163
Member Avatar for rm_daniweb

Hi All, Some website said the we cannot run php function in javascript because php is on server side and javascript is on client side. My code will help us to run a php function when you type something on the textbox given below. [icode] <?php function myfunction(){ $x="I love …

Member Avatar for Ezzaral
0
12K
Member Avatar for EJM

The is a two part problem, part 1. I have a (primary) DIV tag that contains a FORM inside which I have among other things checkboxes - an unspecified number. Their name attribute is the same for all. Their value is set from a DB via VbScript. I have another …

0
53
Member Avatar for vidaj

Hello I'm building my own html parser in python, and have ran into some problems. First off, I'm using python 3, so I can't use the old bundled sgmlparser, or beautiful soup and could not find windows binaries for lxml, so I'm rolling my own. It is for my master …

Member Avatar for vidaj
0
1K
Member Avatar for naash

I have attached an attachment which has drag and drop feature. The elements of rightmost column can be dropped to any of the white cells. My attachment also has NEXT button, when clicked generates next week day and dates. Now here I have added an alert option. When a name …

0
40
Member Avatar for JooClops

Hi! We have a project,to make a website in school, so one of the mandatory things is the registration form. so i can just copy from the example the teacher gave us and add some stuff, but i wanted to practice checking the form, and one of my "missions"(huh i …

Member Avatar for JooClops
0
152
Member Avatar for lolodede

i need to validate textbox to accept only integer and not more than 100 i create this fuction but i dont how to resrict numbers to be lesss than 100 only [code=JavaScript]<script type="text/javascript"> <!-- function checkNum(number) { if (isNaN(number.value) ) { alert(number.value + " is not a number. Please re-enter."); …

Member Avatar for essential
0
92
Member Avatar for lifeworks

Hi I have a webpage, with hidden content divs. There are 7 sections and each is in one of these hidden content blocks. I have a script which sets the display = '' when the link is clicked javascript:showHide('div_id'), and thus the div is displayed. However, in IE, after I …

Member Avatar for essential
0
66
Member Avatar for prawin@123

Hi I am new bee to JS and PHP, i have a code to display the images from directory in the path C:\wamp\www\prawin\new\locations\test\admin But this code didnt works . can any one help me. My code is [ICODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> …

0
69
Member Avatar for darkagn

Hi all, I am trying to run a javascript function, RH_ShowHelp, that is stored in the file RoboHelp_CSH.js. The function itself should open a popup window containing our product's help system (written with Adobe RoboHelp) and the javascript file was supplied by Adobe as the standard call. I have managed …

Member Avatar for hemasow
0
20K
Member Avatar for bimaljr

Hi I have careated a website with a floating (moving on body with javascript) DIV menu with Absolute position via CSS file. There are some Dropdown box on my body Now the problem is that when i the floating DIV move over the Drop Down menu, the menu will be …

0
81
Member Avatar for lolodede

hi there thank you for helping me before but i have new problem with javascript i need to disable the selection list wheb the checkboxes are unchecked and enable when they are checked this my code so far [code] <?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"> …

Member Avatar for ~s.o.s~
0
330
Member Avatar for EJM

I have <div> tag that is dynamically filled with check boxes and some text based on what the user picks from the page. For example, there is information in a tabular format and next to each is a check box. There can an unspecified number of them. User click the …

Member Avatar for ~s.o.s~
0
104
Member Avatar for lalapengi

Two friends had a disagreement about the placement of the return in the following code: [code] var abc; try{ //there can possibly be 1 or more answers; abc = getAnAnswerFromPossibleAnswers("type","key"); } catch(ex){ ex.printStackTrace(); } //We only want the first answer even if there were more return abc[0]; [/code] One person …

Member Avatar for ~s.o.s~
0
85
Member Avatar for justinmyoung

I hate to come back so soon, since I was all proud of myself for working out the last issue. This is a different issue, and beyond the scope of my knowledge. The pagination itself WORKS FINE. However, I'm trying to use a tooltip script on an image hover, and …

Member Avatar for justinmyoung
0
173
Member Avatar for joeltonnberg

Hi, I'm currently trying to implement expanding text to links. However, as the links are created dynamically I need to be able to make the DIVs Id-tag 'general' in the script. So, instead of this: [ICODE]function pageLoad() { collapseAll($('myvar_1','myvar_2','myvar_3)); } [/ICODE] I would like something like this: [ICODE]function pageLoad() { …

Member Avatar for essential
0
100
Member Avatar for justinmyoung

here's the link to the script: [URL="http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/index.htm"]http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/index.htm[/URL] I got the script working, but I can't manage to move the numbers from the top...to the bottom. I tried nearly every combination I can think of. Here's a screenshot of where the numbers are placed currently: [IMG]http://www.justinmarcusdesign.com/image.jpg[/IMG] [B][COLOR="Red"]Here's the HTML:[/COLOR][/B] [ICODE] <!DOCTYPE …

Member Avatar for justinmyoung
0
187
Member Avatar for suju_jm

For validation purpose i want the page size property of the gridview from javascript. I am using .net 3.5 and ajax. Thank you in advance

Member Avatar for greeny_1984
0
63
Member Avatar for asatess

System restore shows a blank page and sites needing javascript are saying it isnt enabled, although it is. I've looked at various previous posts regarding this topic and tried running various suggested programmes without success. Another suggestion was to download scripts from Microsoft which I have tried to do, but …

Member Avatar for Starnamer
0
231
Member Avatar for jonow

I was wondering if there was a way to make it so when the contents of a div went beyond a certain height it was put on another page or tab type thing. If you look at this webpage:[URL="http://www.ndoherty.com/demos/coda-slider/1.1.1/#4"]http://www.ndoherty.com/demos/coda-slider/1.1.1/#4[/URL] imagine that each new panel was made from overflowing content in …

0
69
Member Avatar for goodluck4287

Instead of a countdown and then redirect, I would like to countdown and unhide. I have used java before as a novice, but javascript looks like a relatively new beast for me. I found this counter and think it looks good, I guess it just resents the next smallest digit …

Member Avatar for essential
0
167

The End.