15,120 Topics

Member Avatar for
Member Avatar for lordx78

[code=html] <html> <head> <script type="text/javascript"> function validateFloat() { var o = document.frmInput.txtInput; switch (isFloat(o.value)) { case true: alert(o.value + " is an float") break; case false: alert(o.value + " is not an float") } } </script> </head> <body> <form name="frmInput"> Enter something: <input name="txtInput" size="4"> <input type="button" value="Validate" onclick="validateFloat()"></input> </form> …

Member Avatar for mail2saion
0
430
Member Avatar for bimaljr

Hi I have a site in Joomla CMS. I want to redirect my old url : [QUOTE][url]http://www.brcreation.com/index.php?/Softwares/Tool-to-Convert-Files?itemid=167&mid=167[/url][/QUOTE] to : [QUOTE][url]http://www.brcreation.com/Softwares/Tool-to-Convert-Files?itemid=167&mid=167[/url][/QUOTE] As you see above, I want to remove "index.php?/" from my site url. I have created a script for this but there are some problems. It doesn't redirect to correct …

Member Avatar for essential
0
162
Member Avatar for vedmack

Hi Im trying to submit a form , which holds another form tags inside (i must do it this way) the problem is that this doesn't work on IE, while it works perfect on Firefox the button seems to have no effect on the page... its like it is not …

Member Avatar for newboi
0
269
Member Avatar for sreya.n

Hi all, i want to do pagination using jquery...I am not good in jquery but i would like to learn...so can u please send me the code... Thanx in advance

Member Avatar for sreya.n
0
99
Member Avatar for rajeesh_rsn

Hi I need to make a layer drag able in my html page. Please any one give me a tutorial for doing that please Thanks Rajeesh

Member Avatar for almostbob
0
48
Member Avatar for veledrom

Hi, Javascript doesn't work if i do this way. How can i solve it? Is that because i echo it. Thanks [code] <?php echo "<html><head> <link type=\"text/css\" rel=\"stylesheet\" href=\"cssFile.css\" /> <script type=\"text/javascript\" src=\"javascriptFile.js\"></script> </head><body>"; ?> <form name="form" action="added.php" method="post" onsubmit="return validateForm();" style="float:left"> <input type="text" name="ID" size="20" tabindex="1" /> <input type="submit" …

Member Avatar for veledrom
0
139
Member Avatar for veledrom

Hi, I have a loading bar gif to be displayed initially, until main image (1MB) is loaded in my web page. How can i do it? Thanks

Member Avatar for veledrom
0
70
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
97
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
77
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
357
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
86

The End.