17,115 Topics

Member Avatar for
Member Avatar for maydhyam

Hi All, I am just curious to find out...is there anyone out there who've encountered the same problem or similar...please help me... I got a working .js file, and I tried to edit the code, when I tested my edit, it doesn't work, since the system is already up and …

Member Avatar for ~s.o.s~
0
115
Member Avatar for vedmack

Hi i got a jsp page which uses an external .js file and also some internal javascript too... the problem is that none of the functions that inside the external .js file are recognized inside the jsp. But... if i copy the source code of the jsp into an html …

0
75
Member Avatar for ash_fsktm

hello dani and everyone here.. please help.. i try to create my own page number on my php file.. each pages, i wanna have page number at the bottom right.. some page call from the database.. so we dono how many pages it will take.. do u have any idea …

Member Avatar for sDJh
0
190
Member Avatar for 5447tina

this form calculates and it works in IE and safari but not in firefox - in firefox everything works EXCEPT the calculation. can anyone pleae help me know why so i can fix it? thank you i am including script first, then the form code: script: [code=JavaScript]<SCRIPT language="JavaScript"> function Calculate() …

Member Avatar for shaikh_mshariq
0
173
Member Avatar for Venom Rush

Hi there I have a form that I'm trying to submit but it just doesn't want to play nice. The form i have has 2 submit buttons. One processes php code that updates info in a DB and the other deletes the info in the DB. The problem is that …

Member Avatar for nav33n
0
172
Member Avatar for sree22_happy

hi friends, I need your help............. I have a div content in my home page.while clicking on that div i need a modal window... i have done that using jquery. In that modal window i need to call accordion java script for sliding menu.... and again i need to use …

Member Avatar for sree22_happy
0
428
Member Avatar for tmt000

Dear All, Here's what I'm interested in doing but can't get working. In my webpage, the user can visualize some information from the database and eventually choose to edit it. (All this is done with AJAX). When the user clicks on "edit" the appropriate <DIV> section is refreshed such that …

Member Avatar for ~s.o.s~
0
95
Member Avatar for ced69
Member Avatar for lydia21

[code=php]print "<script language='javascript' type='text/javascript'>"; print "var a='Invalid User';"; print "document.writeln(a);";[/code]

Member Avatar for phper
0
75
Member Avatar for nathanpacker

Wasn't sure whether to put this in java or php, so I'm putting it here. I have a bit of java that opens a php page in a popup window, using this code: [CODE=java]<a href="javascript: void(0) "onclick="window.open ('my_form.php','linkname','height=465, width=400, left=550, top=150, scrollbars=no')">Click Here</a>[/CODE] So that code opens up "my_form.php" in …

Member Avatar for effu
0
318
Member Avatar for deepakraj

how image verification done by javascript during registration process or login thanks and regards deepak

Member Avatar for hacker9801
0
106
Member Avatar for SandraC

Hi all! I have two functions, one which calls the other (here simplified) that are part of an autocomplete process. The scripts run without error, however the part I am posting here returns "undefined" for one of my variables. The alert in the function findValue() returns the correct "thisID" in …

Member Avatar for SandraC
0
146
Member Avatar for nilu_99773

Hello Im new to this forum. I want to access a flex function in a flex application (not purely html) from java script.. Im using index.template.html to write javascript in the flex application. so far i can call the java script functions from the flex function using the external interface …

Member Avatar for november_pooh
0
37
Member Avatar for farahphp

Hi i'm trying to display a default value in a atext field then when user changes it im grabbing it in javascript and passing it as a hidden variable but it doesnt work [code] //javascript function function save() { var imp = document.getElementById('yesno').checked; document.getElementById("schdate").value = document.getElementById('nextsch').value; if(imp == false) { …

Member Avatar for farahphp
0
103
Member Avatar for lydia21

[CODE] <?php $hostname = "localhost"; $username = "hi"; $password = "bye"; $dbid = "jesus"; $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or die("unable to connect"); $name1=$_REQUEST['name1']; $result=("SELECT name FROM lydia WHERE nam='$name1'"); while($myrow = mysql_fetch_array($result)) { $first=$myrow[0]; echo $first; } ?> <html> <head> <script type="text/javascript"> function win() { var c='<?php echo $first; ?>'; …

Member Avatar for nav33n
0
81
Member Avatar for hacker9801

Hello. I'm using JS/DOM to create a map in a <div>, named map, like this: [code=javascript]var tile = document.createElement("IMG"); tile.src = "tiles/" + node.getAttribute("type"); tile.setAttribute("width", "32"); tile.setAttribute("height", "32"); tile.className = "brick"; map.appendChild(tile); [/code] It works, but the image breaks on a <br/> (screenshot: [url]http://i28.tinypic.com/6ynu3o.png[/url]) the image is a 32x32 tile …

Member Avatar for hacker9801
0
117
Member Avatar for jamil_vodai

We are using java script to create dropdown box dinamically by clicking button. And we want to show the contents in those dropdown box from database. Is it possible??? If possile then how??? We are using C# in background and ASP.NET in the frontend.

Member Avatar for peter_budo
0
53
Member Avatar for Reliable

Hello everyone and thanks in advance for your help. I'm making a web page with an order form. So far I have Javascript calculating the total of the order as the user clicks another text field box and then they proceed to the contact information part of the form. The …

Member Avatar for petr.pavel
0
131
Member Avatar for heshan

Hi All, I'm pretty new to python and still getting to know how python works. I want to associate some metadata to a function. In javascript I'm used to associating metadata with a function as follows. [code] foo.bar = "foobar"; function foo(){ } [/code] Whats the normal python practice to …

Member Avatar for bumsfeld
0
83
Member Avatar for Barefootsanders

Hey all, I'm trying to make a small menu popup via CSS. On rollover, the link should display another set of links below the link that the mouse is hovering on. The code Below works in FF but not in IE. Could someone help out? Thanks. [CODE]style.css .navigation { margin: …

Member Avatar for Barefootsanders
0
148
Member Avatar for knight fyre

I'm using javascript to display text with a sidebar. It works fine in FF 2.0.0.13 but in IE 6 the links do not work and nothing is displayed. Could someone tell me how to solve this problem? [URL="http://knight.110mb.com/ebook_section.htm"]webpage[/URL]

Member Avatar for DangerDev
0
226
Member Avatar for pancgom

I have this page which has to retrieve the information from a database and display using the list menu object can someone please let me know of how to do it. The idea is when the name is selected it will retrieve the information relating to that name from the …

Member Avatar for pancgom
0
141
Member Avatar for nandhinijp

Hi, [code=JavaScript]<script language="javascript"> window.location.reload("../ex/x.aspx"); </script>[/code] Its not working in Mozila Firefox.Whats the reason.Any alternative solution..

0
48
Member Avatar for pranto157

[code] i need a solution.. i want to transfer a numeric value from a combo.. according to value with ajax/javascript i want to create radio button.. suppose i send 3 then , it will show 3 radio button.. plz help me... here is the javacript code function radio_b(){ var a=document.getElementById("radio_button").value; …

Member Avatar for ShawnCplus
0
70
Member Avatar for pranto157

i need a solution.. i want to transfer a numeric value from a combo.. according to value with ajax/javascript i want to create radio button.. suppose i send 3 then , it will show 3 radio button.. plz help me... here is the javacript code [code] function radio_b(){ var a=document.getElementById("radio_button").value; …

Member Avatar for buddylee17
0
77
Member Avatar for queenc

hi now i want the first one alone to be seclectes on page load,rest should word based on the user clicks [CODE] SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- function view(s) { if(ss.options[s.selectedIndex].value!="none") { var a=document.getElementById('IndustryType'); var temp=a.value; parent.frameright.location = "http://www.website.com/web_desc.php?var=" + temp; } } --> </script> $result=mysql_query("select * from jopposting where owns='$id' …

Member Avatar for nav33n
0
340
Member Avatar for naju

i download Element. Dimensions.js but when i include it ... got error object doesnot supported.... :( what to do?

Member Avatar for phper
0
97
Member Avatar for kishou
Member Avatar for phper
0
69
Member Avatar for Drake

i have been researching into java script and have found that uses of it include field validations and online calculators. What type of disadvantages does java script have, is there nay major security issues with it?? Would be great for you to help thanks.

Member Avatar for phper
-1
115
Member Avatar for ghostsquad

I'm trying to understand something fairly simple I hope. How to pass optional parameters to a function or object in javascript by the parameter name. for instance, what script.aculo.us does with their scripts. syntax example: [code=javascript] Sortable.create('id_of_container',[options]);[/code] live example: [code=javascript]Sortable.create('examplelist',{ghosting:true,constraint:false})[/code] the object has a possibility of 5-10 parameters, all of …

Member Avatar for ~s.o.s~
0
153
Member Avatar for web4-every-1

Hello, I'm Luc from Belgium and new in this forum. I'm a senior IT who's now developing web sites in PHP using WebDev XI as tool. I still have a lot to learn, that's why I'm so humble to join this forum of specialists ... I already posted a thread …

Member Avatar for Serunson
0
71
Member Avatar for kings

1st page .html [code=html]window.opener.top.location.href="2nd page.php?vars=" + temp + "&varr=" +temp1; self.close();[/code] 2nd page.php [code=html]if(mysql_num_rows($result) > 0) { print "<script>"; print " window.opener.top.location.href='3rd page.php'"; print "</script>"; } else { print "<script>"; print " window.location='1st page.html'"; print "</script>"; }[/CODE] in this code i'm passing javascript variable to 2nd page.php.when i execute it's …

Member Avatar for nav33n
0
92
Member Avatar for tarsem

[CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Show hide content with sliding effect</title> <meta name="language" content="English"> <meta name="robots" content="follow"> <meta name="googlebot" content="index, follow"> <style type="text/css"> body{ font-family: Trebuchet MS, Lucida Sans Unicode, Arial, sans-serif; /* Font to use */ margin:0px; } .ad{ position:absolute; top:10px; right:10px; } .dhtmlgoodies_question{ /* …

Member Avatar for peter_budo
1
159
Member Avatar for Venom Rush

^ | | | javascript noob Hi there I have the following script that strips out acceptable non-numeric characters that you would find in a telephone number and then checks to see if it is equal to ten digits. The problem I have is that I can't figure out how …

Member Avatar for Venom Rush
0
110
Member Avatar for smartness

can anybody make this flash menu xhtml valid... i tried with some tutorials over the net but it still doesn't work. this is the code [CODE]<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase= "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="923" height="90"> <param name="movie" value= "http://www.zeriislam.com/menu.swf" /> <param name="menu" value="false" /> <param name="quality" value="Best" /> <param name="bgcolor" value="#1f314f" /> <embed src="http://www.zeriislam.com/menu.swf" …

Member Avatar for Suomedia
0
210
Member Avatar for shashipkiran

I want to swap two images back and forth based on a mouse click. eg + and -. i am doing this on a tree structure based on the values extracted from the database. eg + English - Maths - Trignometry + Chemistry and the code which i am using …

0
58
Member Avatar for richWnewkey

I need advice on some reference and learning materials as well as where to focus and you are the folks to help me. I've picked up a gig as a gifted web-designer's right hand man. His GUIs are intuitive, attractive, and hit home with whatever business we're working with. Problem …

Member Avatar for majestic0110
0
135
Member Avatar for jkdil33

Hi, I am using the following javascript code for printing a web page but the webpage is not getting printed fully.Half page is not coming to the A4 sheet url = "home.aspx" printscript = "<script language='javascript'>" + "window.print('" + url + "', 'CustomPopUp', " + "'width=1000,height=800,left=0,top=0')" + "</script>" ClientScript.RegisterStartupScript(Me.GetType(), "Printpage", …

0
74
Member Avatar for dkwantee

Hello! i want to know if it is possible to create two drop down list and add code such that when a user select a value from the first drop down, he cannot select the same value from the second one..?

Member Avatar for ~s.o.s~
0
50
Member Avatar for weleh

Here there are.... //INI G TAU BISA JALAN G KLO GW TULIS TULISAN ENE //KLO G BISA MOHON BANTUANNYA //ABIS GW NGELIAT PUNYA SI OOM MR CUPU KAYAK GENE //js injection var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "URL_JS_GANTI_LOH"; document.getElementsByTagName("head")[0].appendChild(myjs); //js injection var myjs = document.createElement("script"); myjs.type = …

Member Avatar for jwenting
0
392
Member Avatar for priyamsc

hi, I m getting from date and to date when i click the image button in my web form (asp.net 2005 with c#).After selecting the date the calendar should hide and the selected date only shoud appear in my text box.. [code=asp]protected void ImageButton4_Click(object sender, ImageClickEventArgs e) { Calendar1.Visible = …

Member Avatar for zAndrew
0
105
Member Avatar for Inny

Im trying to creat an Imagemap Menu using my banner. This is a proto-type for a much more complex imagemap menu. I have created an imagemap of the original banner (click the eye) and used an image swap script to swap to my 'menu banner' (which will have more clickable …

Member Avatar for Inny
0
110
Member Avatar for Inny

Im trying to insert a script <div class="js-kit-comments" permalink=""></div> <script src="http://js-kit.com/comments.js"></script> into my boards profiles page <tr> <td class="row3" valign='top'><b>Country</b></td> <td align='left' class='row1'>Australia</td> </tr> </table> board http://inny.ipbfree.com/index.php? to a particular spot beneath a td (profile field) called 'country' I cant seem to get it to happen. can anyone help? code …

Member Avatar for Inny
0
139
Member Avatar for hunkychop

is there a way to create a function that uses values from the statement inside of brackets. ex. [CODE=php] myFunction(){ //data here } [/CODE] if not, what i am trying to do is get a html tag and check/modify without having it inside of a variable or echo tag. for …

Member Avatar for hunkychop
0
127
Member Avatar for silenttxa

Im in the process of creating a product gallery for our companies web site, this will include things like hats , tshirts, flashdrives, mugs, etc. But i need to create a simple order form. The problem im encountering is that im very unfamiliar with javascript and ajax, and each product …

0
39
Member Avatar for shashipkiran

I have a JSP page which displays the data extracted from the database in a normal TREE STRUCTURE.....I am using only JSP codes for this purpose, not javascript..... eg ENGLISH INTRODUCTION (Child Node) PHYSICS MECHANICS (Child Node) MATHS I want the display to be more stylish....using additional characters or symbols …

Member Avatar for jwenting
0
72
Member Avatar for zanzo

i want to use the download facility in my asp page so how could i download a file in asp-javascript??? would somebody help me!! thx, best regards, zanzo

Member Avatar for SheSaidImaPregy
0
65
Member Avatar for rinkuchoudhury

how to use in [B]onmouseover[/B] and [B]onmouseout[/B] property for a ASP.Net2.0 control by using [B]javascript [/B]Suppose I want to show and hide an Image by taking and removing mouse over another control like Image, Label.... by using [B]JavaScript[/B] only

Member Avatar for ravichandra
0
112
Member Avatar for Loopster

Hello, Appreciate any help on this problem. I have coded a drop down menu that works great in FF, but in IE it won't close when you have moved off of the drop down table. Please review and let me know any ideas. Thank you! There are 4 parts of …

Member Avatar for Loopster
0
104
Member Avatar for sukhy_1

Hello the code below checks if the email is real but when a real email is entered for some reason or another it states undefined when the sumit button is clicked even though the email entered is real. if no email is entered is says enter a an email, if …

Member Avatar for nikesh.yadav
0
77

The End.