15,120 Topics
| |
I have this window.top.onscroll = function(){moveScroll(); } It works perfect in ie, but in firefox I get permission denied to get property onscroll. why? and whats the solution? on top of my page i have done this though var url = document.URL; url = url.substring(7,url.length); url = url.substring(0,url.indexOf(":")); if(isMoz) document.domain … | |
Hi to all i make an HTML page and after entering the data when user press the submit button the data stored in database. i also make validation that which text field is optional and which text field is necessary to fulfill.but the problem is that i have 3 text … | |
Hi guys! I'm back with more problems! I've tried everything... I just can't seem to get it to work. :( Okay, a short explanation of what the goal is. I have 5 buttons, and a list of records which are pulled from the database. Import CSV Create Edit Delete View … | |
Hi, I need to pass the value of hyperlink to another jsp page. For eg., <a href="sample.html" id="myAnchor">[B]sample[/B] </a> Now, i need to retrieve the value, [B]sample[/B] and pass it to another page. Kindly help me on this. Thanks. | |
My problem is, when you type an age, it always says "Invalid Age" w/c falls in the default condition. I dont know how to figure out this. Its my codes. Help me to fix this. Thanks! [CODE] <html> <body> <script type="text/javascript"> var $age = Number(prompt("Enter Your Age: ")); switch ($age) … | |
So I have a big goal I'm trying to accomplish but since I haven't gotten an answer yet I think its too broad and I realize I may be missing some Ajax/jQuery fundamentals so I want to start a fresh post here to get any help I can. I have … | |
hi all, i am new to javascript i was trying to passe text input to javascript. but code is not working here is the code [code] <script type="text/javascript"> function val(){ if(document.a.email.value=="" ||document.a.email.value==null ){ alert("sssss"); return false; } if(document.a.email.value!="" ||document.a.email.value!=null ){ alert("sssss"+document.a.email.value); return true; } } </script> [/code] and here is … | |
I'm trying to include a widget in my page that looks and behaves like the Google calendar or Outlook calendar. Is there such a widget in Dojo? I have found [url]http://unscriptable.com/code/dojocal/dojocalTest.html[/url] but I don't know where to download it. I tried to contact the author but I got no answer. … | |
hi there, i have a problem with the ui-state-error part using JQuery form validation. here's the code: [CODE] $(function() { // a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore! $( "#dialog:ui-dialog" ).dialog( "destroy" ); var name = $( "#name" ), email = $( "#email" ), password = … | |
Hello Experts, Please any body help on how to implement multiple video using frames in webpages. For expample, if I click on hyperlink 1 then video1 should play and if I click on hyperlink 2 then video2 should play in the same place of video1. That video1 should stop playing … | |
I am a newbie, really need your help. I've been working on this for 2 days and can't get it to work correctly. I have a form that I want to submit to the database "New Lead" form. I am using the submodal feature for the customer notes. For some … | |
I'm having problem with counting some special characters on textarea every time I press alt+164 for example , it does not count the character unless I press another key. heres my code: HTML [code]<textarea style="resize:none;" rows="15" name="tarea" cols="45" onkeyup="count_chars(this);" onkeydown="count_chars(this);" onkeypress="count_chars(this);"></textarea> [/code] Javascript: [code] function count_chars(tarea) { x = document.myform.tarea.value; … | |
I know this may be a question that we see often, but I couldn't see any similar to my case or maybe just I don't understand the right concept of AJAX. I'm kinda new to AJAX and trying to accomplish with one of my new project. I've been told that … | |
Im writing a piece of code which allows the user to search by HTML element on a page..The user selects what element they want to search for, and then the code traverses each element highlighting them one by one..The code works fine if the user searches for one element from … | |
Hi It might sound strange but can I simplify it !! I have only one variable for input which is diameter of a circle in millimeters. This ultimately converts into a Guage value as in gun barrels. I can do this in Excel but haven't much of a clue about … | |
Hi, I have a jQuery event [CODE] $('#msg-text').keyup(function() { $('#msg-chr-remaining').html('Remaining characters: '+(255-$('#msg-text').length)); }); [/CODE] The problem is it fires only once - the first time. Anyone knows why? Thanks | |
I have a form which action is a php script. That script returns a header('Location: whatever.html'); Now my question is, would be a way through ajax/javascript to do that only the form were sent, but avoid or prevent the redirection to whatever.html? Also, if would be possible know the page … | |
can anyone tell me why the below code for page backward preventing is not working in firefox but works perfectly in google chrome and internet explorer. can anyone tell the apt code that works in all browsers [CODE]<a href="mainpage.html">log out</a> <script language="JavaScript" type="text/javascript"> window.history.forward(1); </script>[/CODE] | |
Hello Guys, Well I am converting a web application which is made using html, javascript, css and ajax.Now I also want to open this apps on the android tablet but I do not want to change the coding techniques because this apps will going to open on the browser of … | |
I've looked all over the web for similar code that produces the same effect as ESPN two level menu & sub menu bar but unsuccessful. Can anyone pls. help? Tks. | |
Hi All, Sorry if this annoyed any of you. but I'm really indeed. I need to know on HOW TO LOAD 300 RECORDS OR DATA PER SECOND in my mobile apps (for this purpose, I use iOS app). I just need a sample or basic code on how to run … | |
Hi Guys, I m writing one HTML page where i wanted the page orientation to be set to LANDSCAPE through Javascript or CSS. So when I click on Print button or anyways on the HTML page, the print window will pop-up so now in that orientation property should be set … | |
Trying to adapt my working email code to work on a different page... I have VERY little javascript experience...and don't know proper syntax. I want to put this on a page that is created with a while loop (php) and has many members on one page. So it needs a … | |
This is what I have in a page: [CODE=HTML] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Sandbox</title> <style type="text/css"> table.twocPC { width : 612px; border-width: 1px; border-spacing: 1px; border-style: solid; border-color: black; border-collapse: separate; background-color: white; vertical-align: middle; } table.twocPC td{ border-width: 1px; padding: 0px; border-style: solid; … | |
i tried this code but onmouseover it doesn't stop the the slideshow? [code] function nextslide() { // Hide current slide object = document.getElementById('slide' + current); //e.g. slide1 object.style.display = 'none'; // Show next slide, if last, loop back to front if (current == last) { current = 1; } else … | |
Hi peeps, I wonder if anybody can give me a hand with this. Basically on my website [url]http://antobbo.webspace.virginmedia.com/photography/testing/gloom.htm[/url] to view a picture you need to use the left hand-side menu. Now, all good except that when you want to view any picture at the bottom of the left hadn-side nav … | |
Hello everybody. I've tried the following code in the head: [CODE] <script language="JavaScript"> var TxtArea = 0; function insert_bui( t ){ if( !TxtArea ) return; tx = document.selection.createRange( ); switch( t ){ case "B": tx.text = "-b-" + tx.text + "-/b-" ; break; case "I": tx.text = "-i-" + tx.text … | |
I have created 2 google chrome extensions for 2 different websites that i have nothing to do with. the websites are not mine. when you click on the extensions a login screen will popup, i want the users to be able to fill their login details and login to the … | |
I know Jquery uses AJAX, but is there any negatives of using setInterval rather than the usual method of polling with AJAX? EDIT: :P I now realize that setInterval is not a Jquery function, but that doesn't really change the question much. | |
Hi Frendz, How to find the javascript is enabled in the browser or not? |
The End.