14,053 Topics

Member Avatar for
Member Avatar for castajiz_2

I ve been trying for the last 3 hours to get my autocompletetextbox working and tryed all sort of code. My Web service is working from wich I m actually fetching all the stuff but the jquery seems not to work, I m always getting the error when typing the …

Member Avatar for nikkitata
0
296
Member Avatar for iamthwee

Good morning dudes, I have a little issue, I have a rich text editor but on copy and pasting it retains a lot of the gunk, unwanted fonts classes. It is even worse when copy and pasting from microsoft word. Here are some of the things I want: * To …

Member Avatar for diafol
0
327
Member Avatar for wfray

This code works perfectly in IE 7 and above. The PHP/HTML code has a button to delete/undelete some data. When the icon/button is clicked it enters the javascript function "setdelete". The following HTML code sets up the button for entry into the javascript function. <button id="$delete_icon" value="Delete" onclick="setdelete($key)"><img id="$m_d_img_name" src="images/x_undelete.ico"/></button> …

Member Avatar for wfray
0
306
Member Avatar for Bharadwajcvrg

//create the sortable headers for (var i = 0; i < colsSorted.length; i++) { var column = colsSorted[i]; var props = _data.cols[column]; $(document).on('click', '.'+column+'ascen', function(){ col=$(this).parents("th").find("a").html(); if (priv.options.debug) console.log('col:{0} clicked'.f(col)); //set the new sorting column if ($(this).attr("class") == "ascen"){ _currSortFlip = true;}else{ _currSortFlip =false; } _currSortCol = col; if (typeof …

Member Avatar for Bharadwajcvrg
0
777
Member Avatar for Sailor_Jerry

I am using Ajax to load the content of a div element. I have a call back function that I want to use to scroll to the appropriate element, after the data has been loaded. I also have the id of the element I want to scroll to. Most of …

Member Avatar for vinhsoft
0
230
Member Avatar for eantz

Hi.. Is it possible to redirect the page with javascript but keep the data alive and can be read or used by the destination page? I use PHP scripting..

Member Avatar for Taywin
0
233
Member Avatar for vizz

I have `div` with `width:125px; height:125px`. How to create small bars before displaying it? When clicked on `<a href="#">Menu</a>` make transition, like small bars are forming the `div` smoething like http://workshop.rs/projects/jqfancytransitions/

Member Avatar for vizz
0
173
Member Avatar for nadiam

Hello. I have a navigation menu: <ul id="nav"> <li><a href="home.php">Home</a></li> <li><a href="event.php">Events</a></li> <li><a href="#">Guest</a> <ul> <li><a href="add_guest.php">Add Guest</a></li> <li><a href="seating.php">Seating</a></li> </ul> </li> <li><a href="rsvp.php">RSVP</a></li> <li><a href="contact_data.php">Contacts</a></li> </ul> how do i check which link is active? there are tons of this kinda questions and answers but i can't seem to make …

Member Avatar for nadiam
0
349
Member Avatar for nadiam

hey guys so i have an issue with my enable disable function which i just realized a few minutes ago. easier to explain with a screenshot: ![08c804f5fc7f9af5f870d8cf5a7cc3fa](/attachments/small/4/08c804f5fc7f9af5f870d8cf5a7cc3fa.jpg "align-right") so as you can see i have multiple checkboxes. say for example all checkboxes are checked and the delete button is enabled, …

Member Avatar for nadiam
0
474
Member Avatar for nadiam

hey guys so im trying to check if a checkbox is checked. and if one checkbox is checked a button is enabled if more than 1 it is still disabled; button is disabled by default. <script type="text/javascript"> var editbtn = $("#edit_contact"); editbtn.attr("disabled","disabled"); $('.contacts input:checkbox').live("click", function() { if(this.checked.length === 1) { …

Member Avatar for nadiam
0
252
Member Avatar for riahc3

Hello I want to make a button autoclick itself. JQuery? Whats the best way? Tried trigger click but nothing Thanks

Member Avatar for shophiarajan47
0
181
Member Avatar for Siberian

The following jQueryUI code works in Chrome, not in FireFox ? $(".reachme").click(function(){ $("#reachme").animate({right:'250px'}, 2000, 'easeInOutBounce'); });

Member Avatar for Siberian
0
253
Member Avatar for [NOPE]FOREVER

With $(document).ready() does your entire javascript code go into this function? or just the functions that you want to run automatically when the page has loaded? Cheers

Member Avatar for hericles
0
120
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
216
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
390
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
304
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
303
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
219
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
383
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
170
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
293
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
178
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
506

The End.