15,120 Topics

Member Avatar for
Member Avatar for Dani

I was wondering if there's a site out there that gives statistics towards the percentage of sites that use jQuery UI? (Note I'm not looking for the actual number of sites nor jQuery itself ... just jQuery UI). I rolled a custom version of jQuery UI that only uses about …

Member Avatar for Troy III
0
364
Member Avatar for Linddha

Im new in Ajax, i try to learn Ajax to change my PHP script into Ajax,. when i look for an reference, i found a defferent Ajax Script, and Ajax JQuery? so what is deference between AJAX and JQuery?

Member Avatar for Troy III
0
332
Member Avatar for sourabhgkr

here is the code for menu. (document).ready(function(){ $("#main-nav li a.main-link").hover(function(){ $("#main-nav li a.main-link").removeClass("active"); $(this).addClass("active"); $("#sub-link-bar").animate({ height: "40px" }); $(".sub-links").hide(); $(this).siblings(".sub-links").fadeIn(); }); $("#main-nav").mouseleave(function(){ $("#main-nav li a.main-link").removeClass("active"); $(".sub-links").fadeOut(); $("#sub-link-bar").animate({ height: "10px" }); }); }); HTML code <div id="sub-link-bar"> </div> <div id="wrap"> <div class="roundfg"> <ul id="main-nav"> <li><a class="main-link" href="#">Home</a> <ul class="sub-links"> <li><a class="main-link" …

Member Avatar for PcPro12
0
2K
Member Avatar for Nadeem_2

Hi folks I want to universal website crawler using PHP, so my crawler will work on any given site. By using my web application, user will input any site, will provide input, what he needs to get from given site and will click on Start button. Then my web application …

Member Avatar for cereal
0
408
Member Avatar for nerlekar

Hi Guys, I am trying to apply Microsoft.XMLDOM object for all browsers support but i am not getting proper code or object. can anyone help me on this one. var nodes = new ActiveXObject("Microsoft.XMLDOM"); nodes.async = "false"; if (Comments.length > 0) { nodes.loadXML(Comments.item(0).xml); Thanks in advance. Gaurish

Member Avatar for pritaeas
0
50
Member Avatar for george61

Hi all I've created simple javscript gallery using previous and next links. The problem is that I want fade effect between images like this: [url]http://tobia.github.com/CrossSlide/[/url] I've pasted few lines of jquery code in my javascript functions but the fade effects aren't the same. Any help will be greatly appreciated. Best …

Member Avatar for Mukund_1
0
1K
Member Avatar for tony75

Hi Is ther anothe easy way to detect browser used and versions and Operating system via javascripts? I appreciate your help

Member Avatar for tony75
0
200
Member Avatar for Fr3aK

Hello guys, I am writing a Greasmonkey script and I need little help here. So I have this code: $(document).ready (get); function get () { var elems =$( "a[id*='myId.']" ); if (elems.length>0) { $("a[id*='myId.']").trigger("click"); } } the point is that there are a lot of a tags with id myId.N …

Member Avatar for M.Waqas Aslam
0
240
Member Avatar for momonq1990

hi! good day sir. how can i add a link <a> to body <body> with a function <onclick=""> that change the center of google map. HTML <a href="" onClick="myFunction()">location 1</a> FUNCTION function myFunction() { ??????? }

Member Avatar for jparkton
1
306
Member Avatar for fheppell

I'm using a bootstrap pseudo-button (a link that looks like a button). It links to a page using PHP that downloads the file (the user is never shown the linking page). When the link is clicked I want it to be replaced with something to indicate progress is happening (for …

Member Avatar for fheppell
0
250
Member Avatar for eburlea

Hello. I have a function that checks the internet connection. I need to set a timeout to it. I have tried without success to do that. Please help. Here is the function: function isOnline() { if(navigator.onLine){ var uri = baseUrl+'ping'; var xhr = new XMLHttpRequest(); xhr.open('GET',uri,false); try{ xhr.send(); return true; …

Member Avatar for stbuchok
0
199
Member Avatar for sarthak25
Member Avatar for centenond

ey guys, i need to redirect a page but when redirected it redirect to .... blehblehblehblehwww.myredirectedpage.com <script> function readress () { window.top.location = "www.myredirectedpage.com"; } </script> <body> <input id="resultado" type="button" name ="boton" value="" onclick="readress();"/> </body> thanks!

Member Avatar for centenond
0
242
Member Avatar for geneh23

Hey everyone, I'm trying to create a form to upload files and create links from the uploaded files to download for whoever visits that particular page. I've gotten the files to upload to the folder and display as a link but whenever I refresh the page, the links go away, …

Member Avatar for geneh23
0
335
Member Avatar for ultmt.punisher

I'm wondering how to detect IE11 and its version with javascript and debug my css style with jquery or by just if(//IE11){ <style> #sms-cont { height:315px; } </style> } or by if(//IE11) { $(document).ready(function () { $("#sms-cont").css({ "width": "385px", "height": "315px" }); }); } how to do this any idea? …

Member Avatar for Troy III
0
294
Member Avatar for Yorkiebar14

Hello, I am trying to extract ALL strings between two apostraphes within a given string but for some reason I only seem to be getting the first one. The string I am trying to extract from is: `'1962' '1963' '1964' '1965' '1966'` The code I'm trying to use to get …

Member Avatar for Troy III
0
231
Member Avatar for ronaldpaul

Friends, in my project i'm using onblur event in four text boxes and using that onblur event i wanna call different javascript functions i.e', like first text box onblur="test()" and in second text box onblur="test1()" etc. But only one onblur onblur is calling the function and other onblurs are not …

Member Avatar for gökhan_1
0
7K
Member Avatar for centenond

Hello friends got a simple question again(im a noobi i know) so got i got a checkbox in html i want to know how to manipulate checkboxes how i know if its checked... blehh i explain in the code <!DOCTYPE html> <html> <head><script type="text/javascript"> function myFunction() { if (// checkbox …

Member Avatar for centenond
0
165
Member Avatar for centenond

Hey guys i have a question, so i need boxess in my website to store name, weight, etc now i know this is done with html but i need to be able to control and do math with those number how i would do thaht with java ? i mean …

Member Avatar for centenond
0
132
Member Avatar for Linddha

I'm new in ajax i've success to insert data to my database using ajax in chrome.. but when i open my mozilla, and try again I cant get my script work ?? what happen? please tell me how the way to fix it ..

Member Avatar for Linddha
0
151
Member Avatar for wfray

The following PHP code works fine with javascript in Internet Explorer but fails in Firefox. Javascript is enabled in Firefox. It appears that when the button/icon is clicked, it enters the javascript function, but doesn't change the icon on the page. It also seems to return to the PHP code/page …

Member Avatar for wfray
0
335
Member Avatar for Hers2keep

I am using asp.net 4.0 and c#. I have a page at work that is used one time per year by one person to run several stored procedures on January 1st. In order to make it more interesting (since she has to work every New Year's Day) I try to …

Member Avatar for M.Waqas Aslam
0
759
Member Avatar for tqmd1

Sir, I am using these codes. <script type="text/javascript" src="jquery-1.7.1.min.js"></script> <script type="text/javascript"> function checkEmail() { var email = document.getElementById(xemail); alert(email); var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; if (!filter.test(email.value)) { alert('Please provide a valid email address'); email.focus; return false; } } </script> <tr> <td width="40"><label>Email</label></td> <td width="40"> <input type="text" name="email" id="xemail" value="<?php echo $myemail; …

Member Avatar for Airshow
0
168
Member Avatar for RikTelner

<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script> <script type="text/js"> $(document).keydown(function(e){ if (e.keyCode == 37) { alert( "Left"); return false; } }); </script> How to make this work? I am using Firefox and don't I get this working.

Member Avatar for RikTelner
0
83
Member Avatar for mbarandao

Hello All: I am using a div to simulate a checkbox effect; thus, with each click of the div, my jquery displays a different option (in my case: whether the user wants to select a Monthly or Yearly Subscription). The Jquery code: $(document.body).ready(function () { $(function () { var main_obj_id …

Member Avatar for mbarandao
0
200
Member Avatar for Siberian

How come the last condition is executing, instead of the first ? Why isn't the while loop working ? document.prompt("hello there") if (i==2 || i==4 ) { document.write("smart"); while(i>6){ } if(i=8){ document.prompt("can you ask me again"); }}else (i>=9){ document.write("you are a lemon"); } //document.write(" I want to buy an apple …

Member Avatar for Siberian
0
189
Member Avatar for Eagle.Avik

hi, i want to change the image class on click on the image, i am also using radio input, here is my fiddle, check out and tell me what is wrong? [http://jsfiddle.net/Avik/7aKY3/1/](http://jsfiddle.net/Avik/7aKY3/1/)

Member Avatar for Eagle.Avik
0
335
Member Avatar for nadiam

Okay so i have page1.php which has anchor tags. what i want to happen is that when, for example, Page 2 is clicked it directs to page2.php but also will get data from database and display the data in the textboxes in Page 2. I know that ajax will be …

Member Avatar for patk570
0
950
Member Avatar for AMADH

Hello, I am trying to add a 2nd tab area to the jquery tabs, I want the new content area to appear before the tabs then the 2nd content to appear. My plan is to have images appear before, and both be controlled by the tabs. <!doctype html> <html lang="en"> …

Member Avatar for AMADH
0
340
Member Avatar for griselndria

Could anyone help me?I have the code below to insert,edit and delete data in database from an excisting table.Data are added in database but not edit and delete. What should i do? jQueryOb(function new_dialog() { var new_dialog = function (type, row) { var dlg = jQueryOb("#dialog-form").clone(); var fname = dlg.find(("#fn1")), …

Member Avatar for diafol
0
762

The End.