15,116 Topics

Member Avatar for
Member Avatar for jellej

I have a jQuery tabs slider that auto rotates and depending on the slide it will adjust the background of the `<div>` element it is in. Auto rotate goes fine, the correct background is loaded, but when I manually click the tabs, it doesn't take the correct values. It's almost …

Member Avatar for Taywin
0
261
Member Avatar for gAb1

Hi, i don't know what happen in the code. I have this JScript: changeLanguage: function(target) { var rel = target.split('-'), region = rel[3], game = rel[1], client = rel[2], lang = rel[4], ver = rel[1], //not sure... name = $('#' + target).text(), id = game + '-' + client + …

Member Avatar for Taywin
0
452
Member Avatar for divyakrishnan
Member Avatar for zoreli

Hi After learning jquery for about a month, I make an attempt to make username & password authentication form. Howver, i get stuck 2 days now, and i will soon start bumping my head against the wall. What I am trying to do is if user enter the wrong username …

Member Avatar for zoreli
0
320
Member Avatar for thedancingbug

Hello friends, I have to create a dense array called "monthName that contains the names of all 12 months starting with "January" So far, I have created this: function showDate(thisDate) { var thisWDay=Today.getWeekday(); var thisDay=Today.getDate(); var thisMonth=Today.getMonth(); var thisYear=Today.getFullYear(); var variable=new Array(monthName[0]="January", "February", "March", "April", "May", "June", "July", "August", "September", …

Member Avatar for thedancingbug
0
185
Member Avatar for Hari Murthy

I am trying to integrate the ColReorder.js(http://datatables.net/extras/colreorder/) [ which enable columns re-ordering option] into my existing data-table. Its works good, but the problem is its affects the CSS / CSS not applying. I don't know whether its clashing with my existing js ( jquery.dataTables.js ). Please help me how to …

Member Avatar for pritaeas
0
100
Member Avatar for 0senjed0

I have add this code on my page http://technotweaker.com/tutorials/how-to-add-ajax-page-loading-effect-to-blogger-and-wordpress/ and it working fine but there is a lot of empty space at the middle of page and i can't fix it http://www.arianrp.ir/index2.php

Member Avatar for hr.Ziggurat
0
141
Member Avatar for VenusCrystal

Hi, Other than ajax(), load(), get() and post(), is there way to load part of page content dynamically from another file using jquery? thanks, VC

Member Avatar for VenusCrystal
0
82
Member Avatar for arctushar

Hi I Love daniweb for web solution. I want to make a website using jquery. I want to use jquer POST method for my site. My sample code is $.post("search.php",{word:"good"},function(result){ $("#content").html(result); Here the word 'good' will be search in a database using search.php by POST method. I already did that …

Member Avatar for hr.Ziggurat
0
502
Member Avatar for Annuscha

![example3](/attachments/large/3/example3.jpg "example3") Hi, I have been sitting with this problems for days, I'm not very good with javascript as I am still learning, would really appriciate it if someone could help me. I've got a slidedeck with a number counter which works perfect together, now I'm trying to add another …

Member Avatar for Airshow
0
114
Member Avatar for sha1023012

I am not understanding this at all. I have to have 3 fish swim across the screen in different direction. But I can only get the one fish to swim. I have been looking ont he web and can not find anything that helps me. If someone can help me …

Member Avatar for aquariums
0
217
Member Avatar for theakshay

Hi, I am pretty new to Joomla. The company i work uses a joomla 1.5 website which was designed before i joined. Now I'm incharge of managing this website by doing some small changes here and there. Problem : There is a page(not index) containing a few images which are …

Member Avatar for squeak24
0
210
Member Avatar for thak123

I tried $('#page18').bind("load",function() { alert("total Type") ; }); and also i tried doing this $('#page18').ready( function() { alert("total Type") I want to call a function on Load of a Html5 Jquery Mobile page. I have various Div with <data-role="page"> Each of them has Id.Now with navigation when I reach on …

Member Avatar for Sogo7
0
156
Member Avatar for MrJewbagel
Member Avatar for AleMonteiro
0
45
Member Avatar for klemme

I have a loop in php which echo out these divs: <div class="nyhed"> <p class="nyheds_dato_p" style="color:#900;">'.$pub_date[1].'/'.$pub_date[2].'/'.$pub_date[0].'</p> <p class="nyhed_p">'.substr($teaser, 0, 55).'..</p> <a href="'.$url.'" class="nyheds_link">'.$link_navn.'</a> </div>'; When ever a link is hovered, i am adding an animation to change the background color of the div class="nyhed". As it is now, all the …

Member Avatar for klemme
0
211
Member Avatar for petrakid_1

I have a page on my site which, when a button is pressed, pulls in an AJAX response in a <div>. The response also has AJAX in it (this all works as it should). I want to be able to, after several checkboxes are checked, enable a button so that …

Member Avatar for AleMonteiro
0
149
Member Avatar for jstfsklh211

Some browsers will resort a json array by index to make access faster, I understand this. The problem is that when I pass my json object to jeditable using the data setting, in those browsers my options dont come out in the order I need them (Alphabetic). PHP creating the …

0
108
Member Avatar for vetle.haugen

Hi, Just before I jump from the roof :-) Need some help here - autosuggest jQuery: <!DOCTYPE html> <head> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script type="text/javascript"> $(function() { var timer; $("#txt1").on('keyup', function(e) { var self=this; clearTimeout(timer); if (self.value.length===0) { $("txtHint").text(''); }else{ timer = setTimeout(function() { $.ajax({ type: "GET", url: "gethint.asp?q="+self.value, }).done(function( hint …

Member Avatar for pritaeas
0
264
Member Avatar for deepakpandeyece

Hi I want to display the value selected from a 3 level drop down list. Its something like this (for eg) : If a select fruit from level 1 , in level 2 i get all the list of fruits in drop down , then after selecting fruit name from …

Member Avatar for pritaeas
0
66
Member Avatar for moblyft

I have two pages one called upload-file.php, this page uploads the image into the database and my folder. My PHP page looks like this. if (move_uploaded_file($_FILES['uploadfile']['tmp_name'], $file)) { $insert=mysql_query("insert into match_item_image set item_id='".$_SESSION["session_temp"]."', image='".$name."', adid='$adid'") or die(mysql_error()); $cc=mysql_insert_id(); echo "success".$cc; My other page consist of a javascript function which displays …

Member Avatar for rotten69
0
320
Member Avatar for moblyft

I have two pages one called upload-file.php, this page uploads the image into the database and my folder. My PHP page looks like this. if (move_uploaded_file($_FILES['uploadfile']['tmp_name'], $file)) { $insert=mysql_query("insert into match_item_image set item_id='".$_SESSION["session_temp"]."', image='".$name."', adid='$adid'") or die(mysql_error()); $cc=mysql_insert_id(); echo "success".$cc; My other page consist of a javascript function which displays …

Member Avatar for Taywin
0
231
Member Avatar for vizz

How to bookmark website automatically without asking user/visitor of website in all browsers? Following is click version, I want to bookmark website automatically in all browsers. jQuery $(document).ready(function() { $("#bookmarkme").click(function() { if (window.sidebar) { // Mozilla Firefox Bookmark window.sidebar.addPanel(location.href,document.title,""); } else if(window.external) { // IE Favorite window.external.AddFavorite(location.href,document.title); } else if(window.opera …

Member Avatar for JorgeM
0
1K
Member Avatar for mcrbne

Hi ; i am not good about such things , i just create a webpage from exel with spreadsheetconverter (http://www.teknofan.com/teknocon.php) some model products have diffrent size height , width , length (mm) but on my page every size open for every model products... For example Model Kasa Yüksekliği (mm) K31 …

Member Avatar for stbuchok
0
285
Member Avatar for aals

I am working on survey application in this I want only unique answers to be selected like for eg <form action="somefile.php" method="post" name="testForm"> <tr><td>Question 1 </td><td> 4<input type="radio" name="1" value='4' class="Session"/> 3<input type="radio" name="2" value='3' class="Session"/> 2<input type="radio" name="3" value='2' class="Session"/> 1<input type="radio" name="4" value='1' class="Session"/></td></tr> <tr><td>Question 2 </td><td> 4<input …

Member Avatar for Taywin
0
278
Member Avatar for persianprez

Right now I'm trying to get multiple callbacks from a single feed, however I keep getting "val parameter is undefined" Here is the code: var m,i=100,s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],b=["#","@","http","www","tweet","twit","Twit","TWIT","tweep","blog","text","follower","Follower","Text","Twee","txt",".ly","follow",".com",".COM",".net","yahoo",".org"," DM"," RT","RT:"]; var count = 0; var rand; u=function() { if (i--<1) { location.reload(); return false; } document.getElementById('w').innerHTML = "<h2><font color =\"red\">Error :(</font></h2>" ; …

Member Avatar for AleMonteiro
0
136
Member Avatar for godzab

As the title said, how would I get text from a input tag and show it dynamicly. So whenever i press a, it shows up in a p tag. How would I do this in jQuery? EDIT: Here is what I have but its not working: <html> <head> <title>update text …

Member Avatar for JorgeM
0
166
Member Avatar for softDeveloper

Hi, I'm making login in my site which has a database, and I check if the user exists in the data base. However, If I navigate through the web pages of the site, or if I type the url other than the beginning page, I can get to the site. …

Member Avatar for Taywin
0
97
Member Avatar for LastMitch

Hi I'm having issues with **get_magic_quotes_gpc()** function. I download this **Ajax File and Image Manager** from this site: http://www.phpletter.com/DOWNLOAD/ I install it on tinymce & fckeditor to test it out. They both work. I try to link the images and it didn't work and I also realizes the links are …

Member Avatar for LastMitch
0
265
Member Avatar for ziyaddinsadigov

I want to handle 404 error if script can't load some resouce after document is ready. Here is code: (function( $ ){ $.fn.onair=function(){ var tid = setInterval( function () { if ( document.readyState !== 'complete' ){ return; alert("salam") } else if(document.readyState=='complete'){ if (document.onerror){ //ajax $.ajax({ statusCode: { 404: function() { …

Member Avatar for Taywin
0
500
Member Avatar for koveras vehcna

I have a heat map application on OpenLayers (using XAMPP 1.8.0 and MySQL) where user enters two date and time intervals and selects whether he/she would like to view all the data between those two datetimes or view them based on hourly/daily/weekly/monthly intervals. However, when I type in two date …

Member Avatar for koveras vehcna
0
328

The End.