15,120 Topics

Member Avatar for
Member Avatar for web3

Variables vvi and hhi should be with for loop turned into vv1...vv30 and hh1, hh2...hh30. Now I can't get variables tv, lv, bv and rv to return the variable(vv1 or hh1...) value instead if I put vv into quotes it turns the variable into a string (with value: vv1 or …

Member Avatar for Troy III
0
182
Member Avatar for siabenie

Hi all, I would like to ask if anyone could help me about AJAX validation error message with CAPTCHA (secureimage) - At the moment the error message display at processForm.php, IF user entered a wrong code. But what I would like do to is; the error message will POP UP …

0
76
Member Avatar for marietta_kan

I am pretty new in jquery and done some research on the internet but i couldn't much of a help...I want to create to drawers that will slide down on mouseover..i don't think the content is rellevant...any ideas???

Member Avatar for marietta_kan
0
83
Member Avatar for momonq1990

my calculator work perfect in IE but not in mozilla? what i need to do.. i think its all about to my function i need help to onClick event. pls. here's code: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="../css/calculatorCss.css" rel="stylesheet" type="text/css" /> <title>tile calculator</title> <script type="text/javascript"> <!--variable …

Member Avatar for momonq1990
0
249
Member Avatar for jamojo

Hello Everyone, Can you please give me some advise on how to validate input or select based on the class used? For example: <input id="name" type="text" class="alphanumeric" value=""> Then for the validation: if input class = "alphanumeric" if !isAlphaNumeric(input.value) alert(Enter valid value);input.focus Before, I used onblur on the input to …

Member Avatar for stbuchok
0
146
Member Avatar for 7kemZmani

This is jquery script for insert new row in a table and each new row containing 3 td text input, current time and current date [CODE] <script type="text/javascript"> $(document).ready(function(){ var $prototypeRow = $("#prototype").find("tr").eq(0); $(".addRow").click(function(){ var tds = $prototypeRow.clone(true).insertAfter($(this).closest("tr")).find("td"), dt = new Date(); tds.eq(1).find("input").val("textInputGoesHere"); tds.eq(2).html(dt.getHours() + ":" + dt.getMinutes() + ":" …

Member Avatar for 7kemZmani
0
831
Member Avatar for rico001

I have what appears to be a javascript or other type of code in htpdocs of a newer Joomla site, there is a index.htm that I think is causing a 2-3 second delay for the homepages to load up? and I would like to remove this... goto myurl for the …

Member Avatar for balajim1980
0
128
Member Avatar for ivanCeras

Hi everyone, Does anybody knows how to position the scroll bar of the code generated by the css div{overfolw:scroll}?.. The default position of the scroll bar is on the top.. now, what i want is to position the scroll bar at the bottom of the <div> overflow:scroll... I need help... …

Member Avatar for phpdude
0
202
Member Avatar for tinker

[CODE] $(function(){ $('.table_pay').dblclick(function(){ if($('div', this).is('.value')){ var v = $('.value', this).html(); $('.value', this).remove(); $(this).append("<input type='text' name='val' class='field'>"); $('.field', this).attr('value', v); $('.field', this).focus(); $('.field', this).focusout(function(){ var val = $(this).attr("value"); $(this).remove(); $(this).append("<div class='value'>"+val+"</div>"); }); } }); }); [/CODE] What to do on the 13th line that the reference object which is on the …

Member Avatar for Airshow
0
285
Member Avatar for public-image

Hi there! I have tooltips on my site that appear when you hover over text/image but i would like different background for different hovers. the code at the moment accepts all variables passed in but doesnt initalise and apply the styles. I have attached my code and would be thankful …

Member Avatar for public-image
0
152
Member Avatar for mcwebalizer

Of course, Yesterday I ask for help for my google map route creator. And of coure, I made my google maps route creator source. [code] <!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>Google Maps</title> <script type="text/javascript" src="jquery.js"></script> <script src="http://maps.googleapis.com/maps/api/js?sensor=false"></script> <script type="text/javascript"> …

Member Avatar for mcwebalizer
0
1K
Member Avatar for Reliable

Hey Everyone, Thanks for taking the time to read this and help me with my problem. I grabbed [URL="http://dynamicdrive.com/dynamicindex2/crosstick.htm"]this [/URL]code from Dynamic Drive. I'm trying to style it better. I've had some success, but some thing are giving me a run for my money since i don't know JS. [LIST=1] …

Member Avatar for stbuchok
0
123
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
60
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
306
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
183
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
649
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
210
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
130
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
94
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
416
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
129
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
77
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
134
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
119
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
84
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
151
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
230
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
193
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
175

The End.