17,114 Topics

Member Avatar for
Member Avatar for marian99us

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! …

Member Avatar for rajarajan2017
0
184
Member Avatar for canterorist

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; …

Member Avatar for pwinfrey
0
97
Member Avatar for benhowdle89

[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 …

Member Avatar for benhowdle89
0
110
Member Avatar for davidb123

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. …

Member Avatar for fxm
0
2K
Member Avatar for umair.sabri

hi can any 1 write code for me to check wether the ur already exists in sql database using c#.net

0
57
Member Avatar for kannappan

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..............

0
37
Member Avatar for Silvershaft

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 …

Member Avatar for kamala555
0
133
Member Avatar for aladar04
Member Avatar for aladar04
0
97
Member Avatar for aladar04

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> …

Member Avatar for aladar04
0
120
Member Avatar for aqhulcus

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 …

Member Avatar for aqhulcus
0
272
Member Avatar for niche1

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 …

Member Avatar for niche1
0
89
Member Avatar for levsha

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 …

Member Avatar for levsha
0
159
Member Avatar for nahidhawk

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 …

Member Avatar for Taywin
0
1K
Member Avatar for sde_sal

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 …

Member Avatar for scrappedcola
0
59
Member Avatar for technopup

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 …

Member Avatar for technopup
0
441
Member Avatar for vino4all

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 || …

Member Avatar for fxm
0
1K
Member Avatar for vamsikrishna20

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.

Member Avatar for kvprajapati
0
124
Member Avatar for vamsikrishna20

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.

0
89
Member Avatar for Pleasant Day

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 …

Member Avatar for Pleasant Day
0
137
Member Avatar for gobinaga
Member Avatar for yuvi2288

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 …

Member Avatar for yuvi2288
0
139
Member Avatar for canterorist

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 …

Member Avatar for pritaeas
0
98
Member Avatar for kahaj

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 …

Member Avatar for kahaj
0
123
Member Avatar for blackoprogue

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 …

Member Avatar for blackoprogue
0
219
Member Avatar for azegurb

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"; …

Member Avatar for azegurb
0
194
Member Avatar for danny4444

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, …

Member Avatar for danny4444
0
113
Member Avatar for yuvi2288

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> …

Member Avatar for ~s.o.s~
0
76
Member Avatar for Iron_Cross
Member Avatar for Kadafiz

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 …

Member Avatar for dhanapal86mca
0
144
Member Avatar for dhanapal86mca
Member Avatar for svmvishnu
0
114
Member Avatar for ganeshm21

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 …

Member Avatar for theantonis
0
190
Member Avatar for yuvi2288

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 …

Member Avatar for musthafa.aj
0
70
Member Avatar for azegurb

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" …

Member Avatar for azegurb
0
117
Member Avatar for k2k

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 …

0
67
Member Avatar for drewpark88

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 …

Member Avatar for drewpark88
0
126
Member Avatar for drewpark88

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 …

0
62
Member Avatar for PomonaGrange

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 …

Member Avatar for fxm
0
3K
Member Avatar for hatrickwah

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 …

Member Avatar for fxm
0
143
Member Avatar for srinivaskota

[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]

Member Avatar for fxm
0
318
Member Avatar for Takkies

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

Member Avatar for Takkies
0
128
Member Avatar for pankaj87us@gmai

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 …

Member Avatar for pankaj87us@gmai
0
1K
Member Avatar for shanboy

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 …

0
55
Member Avatar for scaryhelmet

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 …

Member Avatar for macgurl70
0
821
Member Avatar for Cotillion

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. …

Member Avatar for fxm
0
300
Member Avatar for vilasdhobale

<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 .

Member Avatar for Taywin
0
80
Member Avatar for metalix

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 …

0
185
Member Avatar for reyanseo
Member Avatar for jkaye

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, …

Member Avatar for Taywin
0
2K
Member Avatar for julzk

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 …

0
62
Member Avatar for cafekko

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 …

Member Avatar for Lusiphur
0
231

The End.