15,694 Topics

Member Avatar for
Member Avatar for Shizuo

[CODE]<html> <head> <script> function zoomToggle(iNewW,iNewH,Image,mouse) { if(mouse==1) { Image.style.width=iNewW;Image.style.height=iNewH; } else { Image.style.width=iNewW;Image.style.height=iNewH; } } </script> </head> <body> <table width="100%", height="100%" > <tr align ="center"> <td> <img src="pics/Penguins.jpg" width="50" height="50" onmouseover="zoomToggle('500px','500px',this,1);" onmouseout="zoomToggle('50px','50px',this,2);"> <img src="pics/Jellyfish.jpg" width="50" height="50" onmouseover="zoomToggle('500px','500px',this,1);" onmouseout="zoomToggle('50px','50px',this,2);"> </td> </tr> </table> </body> </html>[/CODE] here's my problem, after zooming in the …

Member Avatar for stbuchok
0
61
Member Avatar for uselessninja

hi ... im searching on google and i cant find it.... how to display the texts form my main html form to another html form?....since i didnt know how to hide the textboxes and select list for printing the html form... my plan is that im gonna pass all the …

Member Avatar for urtrivedi
0
307
Member Avatar for abhi10kumar

I am using Jquery Popup-Form to send coupon code (which came from database) on email and through SMS. I am using to store couponcode in a session; but the page called by Jquery is not showing the value of session, I wrote session_start() at the top on both pages, still …

Member Avatar for aquilax
0
105
Member Avatar for astnrocker

I need for the form to do the following: when age is greater than or equal to 65 enter "yes" in the hidden field when age is less than 65 enter "no" in the hidden filed return true Create a page processAge.htm that Writes the message on the page Hi …

Member Avatar for Airshow
0
186
Member Avatar for jacob21

I am trying to use phone validation of 10 digit & check the filled data is numeric or not.. Need suggestion. Below the function i am using [CODE]validate: function () { contact.message = ''; if (!$('#contact-container #contact-name').val()) { contact.message += 'Name required. '; } if (!$('#contact-container #contact-phone').val()) { contact.message += …

Member Avatar for pritaeas
0
650
Member Avatar for Lius

[CODE]<script type="text/javascript"> function populateHarga() { var x=document.getElementById("barang").value; document.getElementById("harga").value=x; var y=document.getElementById('barang')[document.getElementById('barang').selectedIndex].innerHTML; document.getElementById('nama_brg').value=y; } function populateTotal() { var y=document.getElementById("jumlah").value; var x=document.getElementById("harga").value; document.getElementById("totalnya").value=x*y; } </script> <body> &nbsp;<p> <?php mysql_connect("localhost","root",""); mysql_select_db("stageco"); ?> <table border="1" cellpadding="0" cellspacing="0"> <?php $nama_b=$_GET['nama_brg']; $harga_b=$_GET['harga']; $jumlah_b=$_GET['jumlah']; $total_b=$_GET['totalnya']; if($nama_b!="") { mysql_query("INSERT INTO temp('t_nama','t_harga','t_jumlah','t_total') VALUES('$nama_b','$harga_b','$jumlah_b','$total_b')"); } $result=mysql_query("SELECT * FROM temp"); $i = …

Member Avatar for Lius
0
214
Member Avatar for dineshswamy

i have an web project asssigned in my college . it is just to create a website to host events , such as quiz , puzzles , basically a website that has a functionality like topcoder.com. Im totally confused what tool to be used . i know php better. but …

Member Avatar for aerofly5
0
131
Member Avatar for jacob21

[CODE]validate: function () { contact.message = ''; if (!$('#contact-container #contact-name').val()) { contact.message += 'Name required. '; } if (!$('#contact-container #contact-phone').val()) { contact.message += 'Phone required. '; } [B]if (!$('#contact-container #contact-phone').length()<>10) { contact.message += 'Phone no should be of 10 digit. '; }[/B] var email = $('#contact-container #contact-email').val(); if (!email) { …

Member Avatar for stbuchok
0
95
Member Avatar for f_atencia

Say I have the following code: [CODE] poNode = poEvent.target ? poEvent.target : poEvent.srcElement; [/CODE] Is there a way I can force Internet Explorer to use the poEvent.target object?

Member Avatar for Troy III
0
417
Member Avatar for mcwebalizer

Of course, I make code for marker add and move, but how do I can make deletion option for marker? And how do I can make automatic route creator from marked point A to marked point B? Anyone know? [CODE] var riga = new google.maps.LatLng(56.878999, 24.455566); var neighborhoods = [ …

Member Avatar for Airshow
0
130
Member Avatar for geekme

Hello, I work on ubuntu and have installed javascript plugin in eclipse IDE for java EE.How should I us it now? As in will just saving a file with extension .js would make it a javascript file?And also how do I run it on the browser.please help. Regards

0
78
Member Avatar for MrCapuchino

Hi, I'm not able to toggle a ui class in my page. Basically here is my code: in the jquery document.ready I subscribe to the event $("#bBuscar").hover(changeButtonBackColor, normalizeButtonBackColor); then the other two funtions are like this: function changeButtonBackColor(evt) { $("#bBuscar").toggleClass("ui-state-hover ui-corner-all"); } function normalizeButtonBackColor(evt) { $("#bBuscar").toggleClass("ui-state-hover ui-corner-all"); } the button …

Member Avatar for MrCapuchino
0
1K
Member Avatar for niche1

I'm trying to write a function that counts characters in a <textarea>. My current problem is to trigger an alert in my function so I can know I'm on the right track. What do I need to add to my JS to get the alert to work?[CODE]<!doctype html> <html> <head> …

Member Avatar for Troy III
0
135
Member Avatar for emily-bcot

The code in the first Code Block is the source code. After the source code is running. The code will be changed (See the 2nd Code Block). I want the class(i.e. 'even' and 'odd') of <tr> tag is only displayed in the 'table1'. However, currently a nest table (i.e. 'table2') …

Member Avatar for twiss
0
120
Member Avatar for AjithAnnadurai

Hi friends , How to post a picture with url link in the forums . please help me . if we click that picture means it will goes to my target url . how to create this link ? . pls help me

Member Avatar for ratnamstone
0
85
Member Avatar for Dragonbaki

Hi experts., I need your kind help on about how to handle Naviswork ActiveX control integrated with HTML, PHP and Javascript. I need to display a Naviswork viewer in my website. For that, I created a Browse button to select Naviswork file. After selecting the file, the file path has …

Member Avatar for pritaeas
0
152
Member Avatar for vaanipala

Hi, I'm not getting any response for the following ajax request. I'm getting the following error when i try to run request_get_xml.html im mozilla firefox: XML Parsing Error: not well-formed Location: moz-nullprincipal:{d4e6a0fb-93c0-4ef4-82cf-7ccbd5c1e02e} Line Number 4, Column 2: -<CATALOG> -^ does anyone know on where i'm making a mistake. thank you. …

Member Avatar for vaanipala
0
231
Member Avatar for 7kemZmani

Hello, I'm using php code to retrieving an array from database and place the result into checkboxes but after the last checkbox input there is text input (hidden by default) and the last check box name is 'other'. I want to make the text in visible if 'other' is checked …

Member Avatar for divyakrishnan
0
194
Member Avatar for Dragonbaki

Hi experts., Can anybody know how to select and upload multiple files using javascript [ with php too ]..? I dont want to use silverlight or flash..! I just need to do it in simple way.. Please help me..! Thanks.,

Member Avatar for karthik_ppts
0
176
Member Avatar for karthik_ppts

Hi Frendz, I'm using the following code for generating the alert message. [CODE=php]echo '<script>alert("Your project has timed out. Contact your project Manager")</script>';[/CODE] Its working fine in my local server. But in online server its not working. whats going wrong with this?

Member Avatar for P0lT10n
0
175
Member Avatar for urtrivedi

Dear friends I need free vertical tree menu as shown in the link (green one) [url]http://dhtml-menu.com/menu/dhtml-floating-menu-sample.html[/url] I have heard something related to FISH, fishmenu or starfish menu, I am not sure. I have seen some fish named menu, but now I am not able to find that link or forgot …

Member Avatar for urtrivedi
0
159
Member Avatar for vaanipala

Hi, I'm new to AJAX and i'm trying to make my first AJAX request response program work. My code works fine in Mozilla Firefox. However, it is not working in IE9. The following is the result i'm getting in IE9: today is July 11, 2011, 10:55 am Notice: Use of …

Member Avatar for vaanipala
0
133
Member Avatar for serdas

[ICODE]function updateStatusViaJavascriptAPICalling(){ var status = document.getElementById('status').value; FB.api('/me/feed', 'post', { message: status }, function(response) { if (!response || response.error) { alert('Error occured'); } else { alert('Status updated Successfully'); } }); }[/ICODE] hi this is what i understand in the above code if there is an error it shows "Error occured" if …

0
70
Member Avatar for mcwebalizer

Where I can find Google Maps with route creator, object point and description tutorial? i mean this for make travel maps. I Would integrate these maps with these options in my Website.

0
118
Member Avatar for Moderns

Hi Mates, Actually the below code only creates dynamic DIV in IE, but for Firefox it does not create any DIV. Also it does not create the event onclick to be triggered when clicking on any area inside the DIV. I want to create dynamic DIV in firefox and IE …

Member Avatar for momonq1990
0
2K
Member Avatar for f_atencia

I'm trying to get the properties for the following objects: 0: [object Object] 1: [object Object] 2: [object Object] 3: [object Object] This was generated by using the following code: [CODE] var s = ""; for (var property in this.oProducts.Product) { s = s + "\n "+property +": " + …

Member Avatar for Airshow
0
81
Member Avatar for Pavlos1316

Hello, I am trying to update my PHP CART without having the page refreshed! Here is a part of my code... I will just use the UPDATE_QUANTITY part (there are ADD & Remove) My Form that holds the quantity: [CODE]<form name="upd_itm" id="upd_itm" action="cart_function.php" method="post"> <span class="text"><input name="quantity" type="text" value="' . …

Member Avatar for divyakrishnan
0
89
Member Avatar for zjbarden

I'm currently in progress of designing a web platform in regards to a personal project of mine, and came upon a frustrating conflict in my script. I am using DHTML windows and a CSS Fisheye Dock Menu, and when I click on a dock item to load a DHTML window, …

Member Avatar for Airshow
0
237
Member Avatar for xagutxu

Hello, everyone! I have a problem with the code of Javascript, and I cannot find out the solution. I write a form in a div in this way: [CODE]var divTag = document.createElement("div"); divTag.id = "ch00"; divTag.className = "chzerr"; divTag.innerHTML = '<form action="foo.php" method="post" name="leh00" onsubmit="change_alert()">'; divTag.innerHTML += '<input type="hidden" name="usr00" …

Member Avatar for Airshow
0
1K
Member Avatar for destroyerx15

i have table with 3 column i want the col3 to be hidden by onload when open the web so is there away to make it because in tutorial only shown by onclick

Member Avatar for Airshow
0
66

The End.