15,120 Topics
| |
Hi I just started java scripting yesterday, and seem to like it, please can anyone help me on the books i could use and how to get them, please will prefer them free, or opensource. Thanks in advance. | |
I am trying to make a form and send all the entered fields directly into an email to a specific email account. if any one knows how to do this or can point me to a site that can help me i would be extreamly grateful thanks!! | |
I have this code for a hover effect, it was working, but now won't. jQuery is working, but events from jquery aren't... [CODE] $(document).ready(function () { $("#logoimg").hover(function () { $("#logoimg").attr("src", "Media/imgover.png"); $("#logoimg").animate({ width: 420 }, 300); }, function () { $("#logoimg").attr("src", "Media/imgout.png"); $("#logoimg").animate({ width: 400 }, 300); }); });[/CODE] | |
How to detect if a browser supports iFrames? [CODE] <script type="text/javascript" > var e = document.createElement("iframe"); if('src' in e){ alert("Your browser supports IFRAMES"); }else { alert("Your browser DOES NOT support IFRAMES"); } </script> [/CODE] WHen you use createElement(), if you pass it 'iframe' it will contain specific iframe properties, like … | |
I have a ul and I would like to animate each li in descending order, and I'm having no luck on this. my current code it, [CODE]function menuItemsIn(){ $(".ac_menu ul li").each(function(){ $(this).animate({marginTop : '0px', opacity : '100'}, {duration : 'slow', easing : 'easeInBack'}).delay(200); }); }[/CODE] It animating all the li's … | |
hello , Iam trying to add google map fuctionality in website dynamicallly. Iam sucessfull in but noe i want my map to be opened in lightbox .i have googled and found various results but of no use .any kind of help appreciated thanks | |
| I have a quantity field where I'm only allowing a max of 3 numbers (numbers only) in addition to the tab and backspace keys. I want to include the delete key, but it appears both the delete key and the "del" key on the numeric keypad share the same charcode … |
I need to ask the user for which layout they prefer and then change the stylesheet attributes according to that. Below is what I have done so far with prompting the user for their preferred layout. I'm not sure how to change the attributes for the different layouts like if … | |
[CODE] <html> <head> <script> function A() { var oas = new ActiveXObject("Scripting.FileSystemObject"); var d = document.a.b.value; var e = oas.getFile(d); var f = e.size; alert(f + " bytes"); } </script> </head> <body> <form name="a"> <input type="file" name="b"> <input type="button" name="c" value="SIZE" onClick="A();"> </form> </body> </html> <html> <head> <script> function A() … | |
I will have a page with about a 100 or so different links and I would like each one to toggle the visibility of its corresponding hidden div. For instance, if I have a county 'Johnson' when it's clicked I would like the hidden div associated with that county to … | |
I have a database of invoices that have multiple attachments(which are stored in a different table) per each invoice. I have it returning the row of invoices just fine. But now I want a way to click the "view" link to call a php script to open up a jquery … | |
Hey, Just a quick question. My webpage is all working fine in IE9, new Firefox, Safari, Opera, and Chrome, but in IE7 it's flagging errors to do with the Facebook share buttons (javascript). When you click them nothing shows up. I was wondering if you could tell me what I … | |
Hi , I want to confirm a delete function using javascript .. In detail I want to display a list using php Mysql as follows No + Name + ---------------------------------- 1. + Raj + Delete 2. + Raj2 + Delete ---------------------------------- When user clicks on Delete button that will leads … | |
hello, I have build an code for opening a map in thick box but i have problem closing it ,i have to click outside a thickbox please help | |
Hello everyone I'm using dreamweaver CS5. I have widgets like slideshow filmstrip; youtube; and twitter im trying to upload unto my server go daddy, but it doent reconize my spry can anyone help. Aposse | |
Hi, I am trying to use AJAX to pull back mysql table information. I tried to alter an example I found (w3 schools) where they showed how use a selection table to pull a specific line out of a mysql table, using the "q" (not really sure if the "q" … | |
I know this is kind of a jquery/ajax question, but I figure it wouldn't hurt to ask here since someone may have done something similar. I have a database of invoices that have multiple attachments(which are stored in a different table) per each invoice. I have it returning the row … | |
guys i am having problems with my jquery code . the slider that has the words "portfolio , service , contacts" etc . doesn't seem to be working here is my site here [url]http://homejobsinc.t35.com/test2.html[/url] here is my source code [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" … | |
I have a jQuery form in which I create a series of checkboxes: <?php <form method="post" id="b-form" action="../createb.php"> for ($i=0; $i<$request_count; $i++){ <div class="request-check"> <table> <tr> <td><input type="checkbox" name="show_request[]" value="request".$i." checked="checked"/>select request</td> </tr> </table> </div> } javascript $.ajax({ type: 'POST', url: '../createb.php', data: $('#b-form').serialize(), success: function (msg){ alert(msg); } }) … | |
Hello friends! Suppose I have something similar to this HTML (this is not my exact HTML, rewritten to simplify): [CODE] <a onclick="ShowHide(); return false;" href="#">show/hide</a> <div> <div id="summary">Summary of info below</div> <div id="enclosure" style="display:none;">Information</div> </div> <a onclick="ShowHide(); return false;" href="#">show/hide</a> <div> <div id="summary">Summary of info below</div> <div id="enclosure" style="display:none;">Information</div> </div> … | |
(I know this is the wrong forum to ask this but I haven't got any help on any of the Javascript forums I've asked this on so maybe someone here can help - or you can go to the Javascript section and answer it there if you like.) I'm new … | |
Hi guys, i'm doing my FYP, and facing the following problem. below is my code for the javaScript [CODE] <script language="JavaScript"> function deleteAccount(ckId){ [COLOR="Green"]alert(ckId);[/COLOR] var index = document.getElementById(ckId).value; document.getElementById('hiddenind').value = index; var conf = confirm("Are you sure you want to permanently remove this account?"); if(conf == true) { [COLOR="Red"]document.form.action = … | |
Hello everyone, I have one container div with several <div>About</div>, <div>More Info</div> etc. in it. on the main container I applied onmouseover to execute a JAVA function. Apparently, every time I hover a <div> in the container it runs the JavaScript again. What is it, I'm doing wrong? Thanks in … | |
hi frens.. i ll simplify my requirement and explain the issue.. lets say, i have 3 textbox rate, quantity, total and a "add row" button. I must be able to add any no. of rows. There must also be a supertotal field before the "add row" button to display the … | |
Hey guys, quick question. I am new to Jquery and just need a bit of assistance. I want to create an image gallery with one div holding all of my thumbnails (.thumbs) and the second div (which would be to the right of the thumbnails) would be an enlarged image … | |
Hi All, I am having an issue with the top part of my site turning COMPLETELY black in IE 8 on the portfolio page. If you scroll to the bottom of the page it says an image is loading throughout the visit of the page. Has anyone else had a … | |
I have been experiencing a problem with a menu tree created in JavaScript. It has been in use for years with previous versions of IE with no problems but when I tried to put it into a new web page and loaded it on IE8 the appearance changed dramatically. Has … | |
Here is my ajax call: [CODE] new Request.HTML({ url: 'users.html', method: 'get', update: 'go', evalScripts: true, /* !! Why isn't this working!? */ onComplete: function(){console.log('ajax complete!')} }).send()[/CODE] I even check eval scripts! users.html: [CODE]<label><h3>Save data here:</h3> <br /> <section id="load" style="display:none;"> <img src="progress.gif" /> </section> <section id="log"> </section> <table> <tr><td>Data:</td><td> … | |
I have some images 5 or 6 that are 800 x 300 i use in my website banner. The start loading but when number one is 1/3 of the way teh next one starts then the next, it looks real messy nee some way to preload them ... like black … | |
| [CODE]<script language = "javascript"> var XMLHttpRequestObject = false; if (window.XMLHttpRequest) { XMLHttpRequestObject = new XMLHttpRequest(); } else if (window.ActiveXObject) { XMLHttpRequestObject = new ActiveXObject("Microsoft.XMLHTTP"); } function getData(dataSource, divID) { if(XMLHttpRequestObject) { var obj = document.getElementById(divID); XMLHttpRequestObject.open("GET", dataSource); XMLHttpRequestObject.onreadystatechange = function() { if (XMLHttpRequestObject.readyState == 4 && XMLHttpRequestObject.status == 200) { … |
The End.