15,688 Topics
![]() | |
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 + … | |
How to disable close button of a pop up window using javascript? | |
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 … | |
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", … | |
How can i make a jquery timer that each 3 seconds triggers a php action? | |
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 … | |
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 | |
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 | |
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 … | |
 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 … | |
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 … | |
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 … | |
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 … | |
EDIT: Delete post. Figured it out myself before someone responded. ;P | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … ![]() | |
Hi Guys I have this page http://beuniquegroup.com/ the slideshow working, now i copied the code to other page http://beuniquegroup.com/our-values but unfortunitly it gives me no image, so I think this slideshow is not connected to my post yet! Please help! Thanks | |
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 … | |
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>" ; … | |
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 … | |
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. … | |
![]() | 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 … ![]() |
![]() | 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() { … |
The End.