15,116 Topics

Member Avatar for
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
239
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
230
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
130
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
743
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
198
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
Member Avatar for nadiam

hey guys. so i found the coding for submitting a form without refresh from a website( http://www.computersneaker.com/submit-a-form-without-page-refresh-in-php-using-jquery/) but its not working. i just copy pasted the code to test it out but it doesnt submit the data. I wanted to ask the owner but didnt find any commenting area. <head> …

Member Avatar for Gaetane
0
3K
Member Avatar for MaddTechwf

When I run the code below it fails. I've run the exact same code without the ID appended to the url and it worked just fine. Am I appending it incorrectly? // CALLS THE PHPSLQAJAX_GENXML2 PAGE AND RETURNS VALUES function downloadUrl(url, callback){ var request = window.ActiveXObject ? new ActiveXObject('Microsoft.XMLHTTP') : …

Member Avatar for MaddTechwf
0
207
Member Avatar for tqmd1

Sir I am using these codes to clear all textboxes in form <script type="text/javascript" src="jquery-1.7.1.min.js"> function clearboxes() { document.getElementById("my_name").value=""; document.getElementById("my_moba").value=""; document.getElementById("my_mobb").value=""; document.getElementById("my_add").value=""; document.getElementById("my_email").value=""; document.getElementById("my_myfax").value=""; document.form1.my_name.focus() ; } </script> Is there any way to run loop to clear all textboxes rather then writinng separte line for every textbox?

Member Avatar for Troy III
1
342
Member Avatar for MaddTechwf

I've got a list of hyperlinks that have a specific class assigned to them of "single-location". I need to add an EventListener to my Google Map that when a hyperlink is clicked, it will call the correct function. Can anyone help me?

Member Avatar for MaddTechwf
0
161

The End.