15,121 Topics

Member Avatar for
Member Avatar for RikTelner

var x = 0; var interval = setInterval(function() { alert("Loop iteration #" + x++); if(x==6) { var x = 0; } }, 500); This code prompts "#NaN" with each message, but I expected it to be going 1, 2, 3, 4, 5 and then back to 1, 2, 3, 4, …

Member Avatar for RikTelner
0
156
Member Avatar for cilla

I'm working on a site that had to be customized from a templatemonster.com template. It's just about finished except the contact form only seems to work fully in Firefox, which is odd? In FF, IE, and Chrome it LOOKS like it works, and in the first two the submissions come …

Member Avatar for cilla
0
218
Member Avatar for junaid_5

First drop down menu to auto change the options of a second dropdown, when you select 2nd it changes the 3rd . <select name="types"> <option value="">---- Select job ----</option> <option value="1">Job1</option> <option value="2" >Job2</option> <option value="3">Job3</option> </select> <select name="gender" > <option value="" >---- Select Gender----</option> <option value="male" selected>Male</option> <option value="female">Female</option> …

Member Avatar for tapananand
0
540
Member Avatar for davy_yg

Hello, Can anyone help me find the logic behind this program? input_berita_static.php <?php include('../includes/koneksi.php'); $post_id = isset($_POST['post_id']) ? $_POST['post_id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $news = isset($_POST['news']) ? $_POST['news'] : ''; $judul = isset($_POST['judul']) ? $_POST['judul'] : ''; $page …

Member Avatar for Topnews
0
391
Member Avatar for aseel_1

Hi all why this code doesn't work correctly but php validate without js work correctly and js without php validate work correctly ?! form.php <html> <head> <title>Registration Form</title> <script language="JavaScript" type="text/javascript"> Function validate () { var str=true; document.getElementById("name").innerHTML=""; document.getElementById("username").innerHTML=""; document.getElementById("pass1").innerHTML=""; document.getElementById("pass2").innerHTML=""; document.getElementById("email1").innerHTML=""; document.getElementById("web").innerHTML=""; if(document.frm.nameTxt.value=='') { document.getElementById("name").innerHTML="Please Enter your name"; str=false; …

Member Avatar for aseel_1
0
313
Member Avatar for yaragalla_mural

Hi i have a Div and underneath that there is another div. By default the second div is not visible. Now on mouse over of the first div i am displaying the second div and also on mouse out i am hiding the second div. But the problem is on …

Member Avatar for hericles
0
174
Member Avatar for markii.borabon

I have some basic logic here and im getting crazy how can do this. what I want is to submit my form when the hyperlink is being click. here sample code: <form id="myForm" action="for-filtering.php"> <input type="hidden" name="fname" value="<?php echo $account_fname; ?>"> <input type="submit" id="submit" style="display:none;"/> <a onclick='myFunction()' href='reponse-to-customer.php?id=".$cus_id."'>$firstname_email</a> </form> <script> …

Member Avatar for tapananand
0
315
Member Avatar for minghags

I need to create 3-4 buttons that are colored when pressed, but when one button is pressed it turns for example red other ones become grey. But this must happen on the same site like selection for example. I didnt maanage to do anything till now, if someone could just …

Member Avatar for Benjamin_11
0
220
Member Avatar for marvil

Hi guys, I'm new to ASP.Net. I'm building a page which consists of a dropdownlist, a gridview and a save button below the gridview. I want to populate the gridview based on the values selected from the dropdownlist. My first problem is that the gridview does not display when the …

Member Avatar for BMXDad
0
388
Member Avatar for prams_1

We are wanting to develop a Mobile App either a hybrid App or web app. Since Usability and performance are the main architectural drivers we are thinking Hybrid App is the best approach. But it is supposed to have these features. Because of development cost for each specific platform, Developing …

Member Avatar for peter_budo
0
238
Member Avatar for vizz

How to remove Referrer from links? How to use following code to remove Referrer from links? **script** var protected_links = ""; var a_to_va = 0; var a_to_vb = 0; var a_to_vc = ""; function auto_anonymize() { auto_anonyminize(); } function auto_anonyminize() { var a_to_vd = window.location.hostname; if(protected_links != "" && !protected_links.match(a_to_vd)) …

0
172
Member Avatar for shophiarajan47

My question is can we use the Document.write in a loop? As the following code doesn't works well. Guess what wrong in it! <script type="text/javascript"> var d = 1; var p; while (days <= 4){ p = prompt("value of p?",0); document.write("the value of p" + p); p=p+p; d++; }; </script>

Member Avatar for [NOPE]FOREVER
0
138
Member Avatar for dapcigar

Hello all, Am trying to display records from mysql using HIghchart but for some reasons, it is not bringing out any output, please help me look into my codes. :::::::::::::::::::::::::::::::::::::data1.php :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: <?php include('mysql_connect.php'); $dept = $_POST['department']; //include('mysql_connect.php'); $stat = 'paid'; $result = mysql_query ("select category, amount, actual from budget where …

Member Avatar for naui95
0
280
Member Avatar for Ryan_11

I am trying to develop a seach page to search the customer files that in the database. I want to be able to search and the result display on the same page and i can search for another customer without going to another page. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript"> $(function() …

Member Avatar for Ryan_11
0
323
Member Avatar for Violet_82

HI all, I am very new to LESS, literally just started today. I had a look at some tutorials, and got my first LESS webpage - or should I say CSS - to work in Firefox, but when I moved to other browsers the CSS doesn't pick up any style. …

0
179
Member Avatar for DaveyCoder

Hi, I am trying to code a button in iBooks, where the user can touch the button, in order for music to play continuesly throught the book, even when a page is turned. I have used the following so far: <div id="audioButton" class="ibooks-media-audio" data-ibooks-audio-reset-on-play="true" data-ibooks-audio-src="audio/background_audio.m4a"></div> This uses iBooks.js The problem …

0
112
Member Avatar for rpv_sen

Hi I was working on wizard registration form i collected the code from web and i gave required in the input tag. But its not working. Can any one please help me to resolve this issue. **Html page** <div class="row wizard-row"> <div class="col-md-12 fuelux"> <div class="block-wizard"> <div id="wizard1" class="wizard wizard-ux"> …

Member Avatar for hericles
0
510
Member Avatar for Manojpanneer98

Hai friends i want to know how to dispaly same value and different page without enter any value because already some content is there display that content in different page using javascript

Member Avatar for Taywin
0
236
Member Avatar for cambraydesign

I am using noUiSlider and I am trying to get the slider value to Post through a form. The form is posting fine, but the value of the slider does not change from the start value, so is always set at 7000. Any ideas how to make the value change …

0
114
Member Avatar for Will_5

**I genuinely hope this is the right place to post this question.** Anyways, I play video games alot and I really like them (I know playing video games won't help me make them ) But as I play them I keep on getting the urge to create my own video …

Member Avatar for jwenting
0
541
Member Avatar for azapovjednik

Hello all! Can someone help with this matrix? it needs to spiral inwards, from bottom right corner, clockwise... I found this code... and it runs nicely but I need to adapt it in some ways: - I should be able to provide number of rows and columns - the grid …

Member Avatar for Dani
0
393
Member Avatar for Stein102

I'm new to Javascript but need to write a script to enter some text into a form, hit submit and then copy an image to a word document. I'll post the website I'm trying to do this with and maybe you guys can give me some points. Note: I'm a …

Member Avatar for DJBirdi
0
254
Member Avatar for SPRINGHEEL

` <script type="text/javascript" src="js/jquery.min.js"></script> <link rel="stylesheet" href="js/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" /> <script type="text/javascript" src="js/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.pack.js"></script> <script language="javascript"> $(document).ready(function() { /* Apply fancybox to multiple items */ $("a.grouped_elements").attr('rel', 'gallery').fancybox(); $("a#inline").fancybox({ 'hideOnContentClick': true }); }); </script> <div id="tabs"> <ul> <li><a href="#tab1">Watsons HWB awards</a></li> <li><a href="#tab2">Mardi Gras Event</a></li> <li><a href="#tab3">WD40 Dealers Summit</a></li> <li><a href="#tab4">Chole Fashion …

Member Avatar for hericles
0
174
Member Avatar for Sikander Nasar

I am facing the problem that in my inventory my Physical quantity not matching to my available quantity.I have color option and If i select 10 products it minus 10 products from all the colors.this is my code <? /*********************************************************************************************\ *********************************************************************************************** ** ** ** My Shop ** ** Version 1.0 …

Member Avatar for itisnot_me
0
273
Member Avatar for [NOPE]FOREVER

1. Exactly what are regex? 2. Do we write them ourselves or are they prdefined expressions? 3. If we can write regex ourselves, how do we write them? 4. How do they check for invadalities? For example the email regex: [-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+\.[a-zA-Z]{2,4} how does this expression check for valid email addresses? …

Member Avatar for pritaeas
0
168
Member Avatar for My question

I am trying to fetch an image from database and display in my webpage through pdo, Image is not displaying instead it appears as "lº·“w~ïFVÅà%@ |vmŸú¿E8Ö®?ð²ý>ñNòTML°^¯F®Ìü9ù²÷fÕèÕÙ³îç®^骍@1 ½§~îþlY4º7ñZS,,¾³Ö9ú7“c*А5z4v^[éÙý¹Yõú¨Ôè—fkIrÓ·knó~þRmü2¶: %@Ì®Òß ¸t¾•ÈáºG¼Ohý¤øtå’ÿêÙ·/÷G£c*А–1ñ:;¶¡œý‘º[[mÇ+-·ŸÕµÈàuæžwvÇ=¹Þ컝tUÀñäÏòå챃µ8§ÙN¹uòÄx].Mr+Ñœ–­<¥©c§•éõ¼“=/‹" - MY Code is., <div class = "controlbox"> <form action = "<?php echo $_SERVER['PHP_SELF']; ?>" method = "get"> <select name = …

Member Avatar for My question
0
3K
Member Avatar for malatamil

if i click Brochure i want to display one popup box in that will display one form after submitting the form brochure.php page will show.in that page i need to download some files.problem is while clicking Brochure its showing popup box if i close are submit the form again that …

Member Avatar for malatamil
0
931
Member Avatar for malatamil

i need two popup box like this. <div class="pro_img"> <img src="web_img/IGN-GRAND.png" alt="Project Image" width="211" height="162" border="0"> <a href="#" onclick="popup('popUpDiv')"><br> DOWNLOAD</a> </div> <div id="popUpDiv" style="display: none;"> <a href="#" onclick="popup('popUpDiv')"><div id="rokbox-close"></div></a> <div id="rt-popup" style="background-color:rgba(230, 224, 224, 0.59);"> <div class="rt-block"> <div class="module-title"> <h3 class="title">Download Brochure</h3> </div> <div id="k2ModuleBox85" class="k2LoginBlock"> <form name="form1" onsubmit="javascript:return Validate();" …

Member Avatar for nadiam
0
222
Member Avatar for davy_yg

input_image.php <p>metode image managementnya masih konstruksi</p><center> <p> <?php include('../includes/koneksi.php'); $id = isset($_POST['id']) ? $_POST['id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $judul = isset($_POST['judul']) ? $_POST['judul'] : ''; $image = isset($_POST['image']) ? $_POST['image'] : ''; //Load berita if (!empty($_REQUEST['id'])){ $result = mysql_query("SELECT * FROM gallery WHERE id =".$_REQUEST['id']) …

Member Avatar for Sikander Nasar
0
354
Member Avatar for sanjay_7

i am trying to create custom marker in google map with numbered marker. in which marker image is custom and want to placed number as a label, So can anybody tell me how to do it. here is my code var locations = [ ['Bondi Beach', -33.890542, 151.300856, 4], ['Coogee …

Member Avatar for pritaeas
0
243

The End.