17,114 Topics
![]() | |
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! … ![]() | |
If i submit using <input:text>, i can see the result but if i use <input:file>. i cannot upload. jquery code; [CODE]// JavaScript Document $(document).ready(function(){ $("#myformcom").submit(function(){ var str=$(this).serialize(); //var result; $.ajax({ type: "POST", url: "uploadfiles.php", data: str, success:function(msg) { $("#error").ajaxComplete(function(event,request,settings) { if(msg=='Successfully Submitted') { $(this).html(msg); } else{ $(this).html(msg); } return true; … | |
[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 … | |
HI EXPERTS, I am trying ajax. The code I have used is given below.I linked both the javascript files inside the head section. When I select any category from first dropdown box, I call the javascript func and got the corresponding subcategories in the second dropdown. This is ok. But … | |
how can i get the value of the type=hidden when i click the <tr class='click'>? i only get the value of first hidden and when i click the other <tr> the same value from first hidden. jquery code [CODE] $(document).ready(function(){ $('tr[class='click']').click(function(){ var a= $('tr[class='click'] input:hidden').val(); alert("a"); }); }); [/CODE] html … | |
I'm having some issues getting my menu to work right. I'm trying to make it so that when the top of a given category has the mouse over it, it creates a flydown of the submenu. Also, on the mouseover of both the top menu and submenus, i want it … | |
So far I've got this iframe to refresh every minute. What I would like to do is have the scr of the iframe be a variable. When the iframe loads to the main site if it find that the page cannot be dislayed then switch to the second site. I … | |
hi everyone i have image rollover code. and i want to add functionality, for ex-this scripts roll overs images (slides them) . i would like let it stops when onmouseover event here is script [CODE] <html> <head> <title>HTML ders | 09.07.2010</title> <script> var sekil1=new Image(); sekil1.src="bir.jpg"; var sekil2=new Image(); sekil2.src="iki.jpg"; … | |
I am trying to call a function from a link or button like the example below, however I would like to call the function whilst passing a variable along (not a string). I was wondering if this was even possible, if not what is another solution? This isn't my code, … | |
Hi, I am trying to use ajax in my webpage. I got the values from the database and displayed as links as below. param1 param2 param3 I used the following code to call a javascript function func() with dynamic parameter param in jsp. out.println("<a href='#' onclick='javascript:func('"+ param +"')'>"+ param +"</a> … | |
I often see people asking the same question over and over, "How do I learn to program, and where do I start?" Some people may take that question to the next level by asking, "Which language should I learn first?". The answer to those questions is fairly simple, but also … Computer Science algorithm amazon-web-services asp asp.net client-server database-design delphi developer-tools first-post google gui html-css ide java-jsp java-netbeans javascript legacy-mac mac-software machine-learning microsoft microsoft-access microsoft-windows oop operating-system pascal perl python software-architecture unix user-interface vb.net vbscript visual-basic visual-studio web-browser web-design web-server windows-server xml | |
i used this code to adding multiple values.. bt it dsnt work . it didnt give me real answer.. plz some one can help me up.. [CODE] function calc(y){ answer="0"; for(var co=1;co<=y;co++){ answer+=parseInt(document.getElementById(co).value); } document.getElementById("total").value=answer; }[/CODE] this code didnt give me sum of values. it gave like this.. (10101010). not … | |
Hi All I am using AWM menu and there is functon awmCreateMenu() which creates a menu, but exactly not getting the different argumnts to this function. Will please any one help to get meanings of these parameters? Actually I want to activate or open this menu using an short key … | |
Hi experts, I am trying to use ajax in my webpage. I got the values from the database and displayed as links as below. param1 param2 param3 I used the following code to call a javascript function func() with dynamic parameter param in jsp. out.println("<a href='#' onclick='javascript:func('"+ param +"')'>"+ param … | |
hi all, i have simple image slideshow script does anyone know how to do it with a help of for loop not if here is code thanks beforehands [CODE]<html><head> <script type="text/javascript"> <!-- var image1=new Image() image1.src="bir.jpg" var image2=new Image() image2.src="iki.jpg" var image3=new Image() image3.src="uc.jpg" //--> </script> </head> <body> <img src="bir.jpg" … | |
Trying to use ajax to sync up with the database but never really got it to work unless i refresh the page. [code] <!-- the html page --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type="text/javascript" src="js/generalFunctions.js"></script> <script src="php_lib/getOrder.php"></script> </head> <body> <script type="text/javascript"> // a function in the "js/generalFunctions.js", the ajax function, see … | |
Hey Guys, I know this is a known issue but I have had no luck with finding a fix for the issue I am getting with IE8. I get a nasty black border around my png that I am using the Jquery fade function. Does anyone have any useful hacks/tricks … | |
Hey Guys, For some reason my light box is not working within my "tab content" for my jquery based tabs? Is there a reason why it is not working? It shows the link and when you click it brings the photo up in a new window? Do I have to … | |
Hi All, I am trying to program a web based cash register/POS application. I would like to use a function to format the number in the "Amount Received" text box. The idea I have in mind is to always keep two decimal places at all times. For Example: if someone … | |
I'm in the process of working on a page that uses layers and iFrames in conjunction with javascript and <div> layers. The problem I'm hoping to solve with your help is that I implemented [CODE] onclick="this.className='stylesheetstyle'"[/CODE] in the <a href> tag and so therefore when users click the links, the … | |
[I]Hi experts,[/I] [I]please help me,[/I] [B] In my WebApplication ,In vertical scrollbar scrolldown some position after the refreshing the page again scrollbar position goes to the top of the verticalscrollbar How to get back the scroll position after the refreshing the page[/B] [B]Thanks and Regards, Srinivas Kota.[/B] | |
Hi all, I want to know if it possible to load different images into page every time the website is viewed? If so, please help. Thanks in advance | |
the error i am getting in the html file Message: Syntax error Line: 1 Char: 1 Code: 0 URI: [url]http://localhost/testhtml/test.php[/url] The test.php code is <?php Header("content-type: application/x-javascript"); echo “document.write(‘Hello World I am php code called from HTML file:’);”; CLOSE WINDOW; ?> The test.html code is “<script language="JavaScript" type="text/javascript" src="http://localhost/testhtml/test.php"></script>” HELLO … | |
hi all i'm using visual web developer 2008 i have included ajax toolkit bar into my project when i drag and drop one of the tools for example autocomplete extender it does not come the pointer becomes circle with diagonal line i was using .net framework 3.5 i downloaded framework … | |
Hi there, I need to do a few things onclick, but I'm having problems. 1. Swap divs onclick of a text link in a list (found a script for this) 2. Change the font color of the text link that is active, then change back to normal color when another … | |
Hi all, I'm new to this and trying out a few projects to get started. What I want to do is get the script to search the page for keywords kept in one of three arrays and highlight the word in a colour depending on which array it is in. … | |
<html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head2" runat="server"> <title>Run Executable HTA</title> <script language="javascript" type="text/javascript"> function RunEXE() { var oShell = new ActiveXObject("WScript.Shell"); var prog = "c:\\WINDOWS\\system32\\notepad.exe"; oShell.Run('"'+prog+'"',1); } </script> </head> <body> <input id="Button1" onclick="RunEXE()" type="button" value="Notepad" /> </body> </html> not working, ActiveX is not defined error . | |
Hi there I am having some trouble with a script. What it does is uses the http request (similar to googles search suggestions) to replace the entire page content div, this works fine but some of these pages use javascript. one has a lightbox, another has contact form verification. is … | |
Anybody have a simple example of retrieving a page via ajax? | |
I have done this before, but for some reason it doesn't want to work with my if statements...it keeps submitting the form when nothing is filled out. It's the validation for an html form, and there are checkboxes that display certain parts of the form. If a checkbox is checked, … | |
Hi, In a previous JSON feed, I am passing through a market id on click to the below function. I then run another JSON feed within the below function, but I am trying to place the getmarketid var within one of the appending .html JSON div tags below to pull … | |
On this project. I used XML as a database and AJAX for display.. I integrated this website [B]Here's the full source code.. please scan it for your safety.[/B] [url]http://www.mediafire.com/?nh14oi1mmeo[/url] First, radiobuttons is assigned before page init.. [code] public partial class Default : System.Web.UI.Page { //Assign values as a specific Dynamic … |
The End.