14,054 Topics

Member Avatar for
Member Avatar for choboja621

Here`s my code. I think its right. I had checked every single detail. But then, it still don`t work. It doesn`t link to the html i had created. Hope you can help me. I`m new to this stuffs. [CODE]<html> <head><title>Using Image Maps</title></head> <body> <center><img src="bearface.jpg" width="600" height="776" alt="bearface" usemap="#bearface"></center> <map …

Member Avatar for Airshow
0
132
Member Avatar for darknoobie

Hello forum, My name is juan and recently started html programming. I have a web page with a drop box with the name of states. Code: <option value="">Alabama</option> <option value="">Alaska</option> I can add a onclick="code here" to the tag so that when the drop box alabama is selected it triggers …

Member Avatar for darknoobie
0
218
Member Avatar for aharkus

I have a page set up that with tabs that show different content. This works fine and I can also dynamically create the number of tabs and the name of them dynamically. However, I'd like the CONTENT of each of the tabs to also be tabs contain tabs depending on …

0
59
Member Avatar for aharkus

I'm creating dynamic buttons and forms for a website and would like the form hidden when it's corresponding button is clicked. However, when I pass button and form name variables to my JavaScript that hides the form, the variables are not being recognised unless I explicitly set them. (e.g 1 …

Member Avatar for Airshow
0
1K
Member Avatar for Behseini

Hi guys Can you please let me know where I can find a demo or example of JQuery Plugin which let's to create a Div with shadows(Inner and Drop shadows) and plugin to add gradient to Div background color? Best Regards,

Member Avatar for twiss
-1
123
Member Avatar for Pro2000

Hello everyone. I have a button and a textarea. I want this button to add tags around the selected words in that textarea. For example the button is to add the <b> tag before the selected words and the </b> tag after the selected words. Just like these buttons, in …

Member Avatar for Pro2000
0
86
Member Avatar for jhaque

Hello everyone, i am new to ajax and i am trying to get some data from database using php and ajax. I am facing a problem and i can't find any solution. When i trigger the ajax function, it not showing what i wanted. please check the code bellow and …

Member Avatar for jhaque
0
89
Member Avatar for sam8

Hi, Having problems with getting the enter key to act as a tab key. It works fine in internet explorer with this code: [CODE]<body onkeydown="javascript:if(event.keyCode == 13) event.keyCode = 9;">[/CODE] However, if I try to it for the other browsers by using event.which it picks up that keycode 13(enter key) …

Member Avatar for twiss
0
116
Member Avatar for klemme

I have one select list, which is populated from the DB like this: [CODE] <select name="position" id="position" onChange='itemdisplay(this.value)'> <option value="<?php echo $til_subject; ?>"><?php echo $current_subject; ?></option> <?php while($row=mysqli_fetch_array($result)){ echo '<option value=' . $row['id'] . '>' . $row['linknavn'] . '</option>'; } echo "</select>"; ?> // Next to this list i have …

Member Avatar for twiss
0
1K
Member Avatar for ghosh22

Hi I am trying to find the answer of the following. Suppose, I am trying to build a web page to conduct a fictious online Poll and people vote their favourite candidate. Now each voter is allowed to vote only one candidate from any one party. I have made the …

Member Avatar for ghosh22
0
211
Member Avatar for MrCapuchino

I'm trying to use a plugin for paging from jquery, the thing is that the demo is not very clear, at least for me that I'm not very familiar with jquery and httphandlers. Here is the javascript code. [CODE] $(function () { var a = 10; var b = 10; …

Member Avatar for MrCapuchino
0
235
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
236
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
828
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
201
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
202
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
119
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

The End.