15,121 Topics
| |
I am trying to write a bookmarklet that extract a citation information from a web page in a new text file for the client by using javascript. but I could not find any solution where writing to a text file is allowed with firefox by using javascript. the application suppose … | |
Hi, I am calling javascript from java and calling a function, and that function on an image i am calling onmouse over. So now the problem is, I have two jsp, secord inside first. when i click first jsp where is onmouseover, it's working fine and after that i am … | |
hi! i don't have problem in checking all checkbox but if i uncheck the checkbox the id=cball(my main checkbox of all), the sub don't follow the main(id=cball); here's my code for jquery: [CODE] $(document).ready(function(){ $("#cball").click(function(){ $("tr [id=cbmessage]").attr("checked","checked"); },function() { $("tr [id=cbmessage]").attr("checked",""); }); });[/CODE] html code: [CODE] <input type="checkbox" name="cball" id="cball" … | |
Hi all, I have a problem. I have a menu and when clicked it loads the data from that menu into my main page divs. However, I want to be able to auto refresh my div#mainview_json every 5 seconds. When I try to implement the auto_refresh = setInterval(blah, 5000); it … | |
I want to know using Java Sript, how can I get sub buttons when I mouseover a button, for example, in daniweb.com, when I mouseover Web Development button, then it expands and shows PHP, ASP.NET, Cold Fusion, ASP, JSP and so on....... How I can make this type of button … | |
Hi, I'm trying to reverse engineer/understand something. If you saw this: [code] <a href="{url}"onfocus="this.fireEvent('onmouseover')" onmouseover="parent.CommonMethods_previewResultsHover(this, '{url}','position=cornertopright')">Text</a> [/code] What would the code after the onmouseover in the href mean to you? I *think* it is calling a script from the parent called "CommonMethods_previewResultsHover". Am I close? A complete nebie to Java … | |
iv been using a tutorial to creaete the script to show an enlarged version of an image float on the screen on mouse over. the script and everything else works but i was wondering if someone could help me to make the floating image more central as it floats down … | |
Hey! I got a little login script, like when user presses the button it sends the form and does the php code to check the account, what I want to do is if the password or username is wrong, that the user will be redirected to loginpage and I want … | |
Hi, I have some code which creates an extremely long table row, and I've been able to clean it up to a point where my performance is fairly decent. What I am trying to figure out is if its better in terms of speed to use divs as opposed to … | |
How do I retrieve data from MSSQL Server using Javascript? I am used to doing things in PHP, but I want to have an interactive form which is able to display Sales Tax after user types in his zip code. My query is similar to: "select top z.rate from zipcodes … | |
Hello everyone. This post will contain an amount of personal feelings within it. I'm not a very experienced/skilled programmer, and my main 'background', if i can call it so is in windows forms applications (Visual C++, C#), where conceptually speaking, everything is driven by events, the only possible difficulties arriving … | |
Hello, I have been looking for a solution for a long time. I have embedded a SWF app in html page using SWFObject. Now I need to give the Flash app the address where it is currently embedded, since the same SWF file is embedded in more than one locations! … | |
[CODE] <script> $(document).ready(function() { var refreshId = setInterval(function() { if ($('#recent td') > '200') {.css("background-color", "#1eff00")}; },1000); }); </script> [/CODE] The above is what i'm trying to achieve but its definitely not working! I have a table being outputted by PHP from a MySQL Db but i need to highlight … | |
Hi, I'm trying to get an xml file using an xmlhttprequest with the GET method. My request works fine with any browser except internet explorer. This one send no http request at all. (using wireshark to monitor). I thought about a caching issue but it should work at least once. … | |
hi can any 1 write code for me to check wether the ur already exists in sql database using c#.net | |
hi,i need help u..... how to integrate youtube website to my website? how to retrieve datas from youtube to my website and play the videos in my website only? send jsp code and complete details.............. Thanks.............. | |
Hey! I got a little problem with my websites login page what I started making when I try to run a function in onClick section of button I have to click it two times that the effect comes? If I put the code straight into the onClick it works properly … | |
[CODE]var strs="hello"; var strslength=strs.length();[/CODE] is this correct? | |
Please see the comment on code below to see the problem. [CODE]<html> <head> <title>Sequence: x ^ n -1</title> </head> <body> <script type = "text/javascript"> var sqn; var pow=1; var pans=1; do { sqn = prompt("Enter Sequence: "); }while(sqn<0); var psqn; psqn=parseFloat(sqn); if (psqn==0){ document.write("0"); } else if (psqn>0){ document.write("9<font color=red> … | |
hi, i'm really new to programming in general, and i think i've figured out how to insert and select data from mysql databases, however, i can't seem to get values from a table and work on it here, i'm trying to 1) grab a number from my table 2) generate … | |
This url : [url]http://www.lincolnsrealdeals.com/nav5c.html[/url] has passed validation and renders the way I need it to on firefox, but not on ie8. The problem is that the hover over "By Location" renders the notation: "Where do you want to buy it?" under all the navigation when it's meant to render just … | |
I'm absolutely new to JavaScript, so I don't know quite well what I'm doing. Does this look right (inside of HTML)? - [CODE]<script type="text/javascript" src="/path/to/si.files.js"> window.onload=SI.Files.stylizeAll(); </script>[/CODE] And what is si.files.js? Is it a file I have to create and place into some directory? What is supposed to be in … | |
Hi guyz....i am new here.... really appreciate if u can help me... i am also a newbie in coding..... i am trying to create a interface to average down variable amount of input and show them on screen as they type.... this is what i came up with..... and the … | |
Hi All, I had a issue with converting an inline js function to external file , I know it is pretty dumb question, But would really appreciate if you guys can help me in solving it. Steps - I cut the script function from a file and pasted in a … | |
Hello, I wonder can someone help me. [onkeyup] I am trying to transfer user input fields from a form so that the user can preview what they have entered in a div on the same page (i.e. prior to submiting). e.g. 1st Line - Name: This is my Name 2nd … | |
I want to get the selected text from the i-frame, where the source is from another domain. [code] <html> <head> <script> function getselText() { var iframe = document.getElementById("my"); var txt = getIframeSelectionText(iframe); document.aform.selectedtext.value = txt; } function getIframeSelectionText(iframe) { var win= iframe.contentWindow || iframe.contentDocument.defaultView; var doc= iframe.contentDocument || win.document || … | |
Hello Sir, I am using a web application . I need to be able to access the clipboard data using javascript . I have completed implementing this in internet explorer but haivng an issue implemnting this feature in mozilla . code in internet explorer: document.getElementById('ClipboardContent').value = window.clipboardData.getData('Text'); Regards, vamsi. | |
Hello Sir, I am using a web application . I need to be able to access the clipboard data using javascript . I have completed implementing this in internet explorer but haivng an issue implemnting this feature in mozilla . code in internet explorer: document.getElementById('ClipboardContent').value = window.clipboardData.getData('Text'); Regards, vamsi. | |
I have a web page of a javascript game I downloaded from the net, on the web site it works correctly. But if I save the web page to my hard disk and play the game the game graphics do not show, I would like to know why not. Here … | |
The End.