15,116 Topics

Member Avatar for
Member Avatar for itsjareds

Here's a script I worked up to convert binary code into ASCII. Didn't work out an ASCII to binary conversion yet.

Member Avatar for digital-ether
0
984
Member Avatar for jaimca

I need a java script code tat changes the mouse pointer to an image of my choice when a button or an image is clicked .. Please help me out regards jai..

Member Avatar for serkan sendur
0
134
Member Avatar for adino2

I written a code to create a image viewer using javascript. But the script only works in IE but not in firefox. Please help. The code is below...... [CODE] <script type="text/javascript"> function changeImage(filename) { mainimage.src = filename; } </script> <center> <img src="images/bg.jpg" name="mainimage" width="419" height="282"> <marquee width="90%" scrollamount="5" onmouseover="this.stop();" onmouseout="this.start();"> …

Member Avatar for matthewmaxwell
0
140
Member Avatar for Agent Cosmic

I am very interested in developing RIAs. So I just wanted to know you opinions of each of them. I have a good foundation of XHTML and CSS, so is AJAX better? -How compatible are they? -How well do they handle images and animations? -How flexible and versatile are they? …

Member Avatar for Troy III
0
107
Member Avatar for serkan sendur
Member Avatar for j_limboo

New to javascript please help me create a link after we click on submit button What is happening is when we click on submit button, it directly does the action on query to google But instead need this to create a link I mean when we hit search the javascript …

Member Avatar for phper
0
115
Member Avatar for hnissani

I have both firebug and venkman debuggers installed. Both seem to function yet neither works. I use firefox3.5.3., windows xp. Any suggestion?? Thanks

Member Avatar for hnissani
0
116
Member Avatar for ykjadeja2020

[code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php echo $arr = explode(',',$_POST['technology_id']); foreach ($arr as $key => $value) { echo $value; echo '<br>'; } ?> <script> function select_tech() { var frm = document.frm; var id = ''; …

Member Avatar for Airshow
0
129
Member Avatar for becraig

I have a question I am have been googling all day with no examples I can use and need to come up with something. I want to have a Javascript session timeout which does it's own internal countdown ie: 5 mins left before your session expires etc I then would …

Member Avatar for peter_budo
0
70
Member Avatar for Bellwin
Member Avatar for Thirusha
0
54
Member Avatar for MDanz

i tried this but the background of the textarea turns white and not to image.. [code] <script language="javascript" type="text/javascript"> function ChgText(number) { var newtext = document.getElementById(number).innerHTML document.getElementById('reply').style.backgroundImage = "url(newtext)"; } </script>[/code] [B] var newtext = document.getElementById(number).innerHTML [/B] this is the hyperlink of the image [B]'reply'[/B] is the value of the …

Member Avatar for codejoust
0
83
Member Avatar for grabit

Hi Folks Can I do the following please: In have a form for entering payments of invoices. If they pay the whole ammount that is ok BUT if they only pay a part payment i wanna do the following. On the form i have radion buttons (partpay yes & no) …

Member Avatar for grabit
0
96
Member Avatar for carlcarman

When I execute my functions the first one works fine and the second is called because I get my alert box but the second function does not execute. Any ideas why? Any input is appreciated. function changeFont() { <!--alert("changeFont function");--> document.getElementById("q4").style.fontStyle ="italic"; } function changeFontBack() { alert("changeFontBack function"); document.getElementById("q4").style.fontStyle="normal"; } …

Member Avatar for carlcarman
0
85
Member Avatar for Altairzq

Hello, I thought the programming gurus in this forum could lend me a hand understanding recursion in Javascript. I'm following an online Javascript tutorial ("Eloquent Javascript", I recommend it to anyone) and chapter 3 shows this function: [CODE]function power(base, exponent) { if (exponent == 0) return 1; else return base …

Member Avatar for ~s.o.s~
0
125
Member Avatar for Sereal_Killer

hi . im trying to figure out what the best possible way would be for me to zoom into a selected img/div. i have multiple divs with images in them and when a user clicks on one of them i would want the selected image to fill the whole screen. …

Member Avatar for donfady
0
162
Member Avatar for itsjareds

Hi, I'm trying to create a Youtube video inserter script for my site. Long story short, I need to be able to prototype an HTML element and add a string into the element's innerHTML, like this: [ICODE]myObj.insertVid(5sw2OvIgoO8);[/ICODE] I'm using jQuery to getElementsByClass("sip"). [CODE]Object.prototype.insertVid = function(id) { if (id.length > 0) …

Member Avatar for Troy III
0
172
Member Avatar for Graphix

Hi, I am currently writing a chatprogram, and it works fine in FF but it doesnt refresh as it should every 1500ms (set with setInterval("retrieve_messages()",1500) in body tag) in IE. The object ajax is made in previous code. I wrote the following code: [code] function retrieve_messages() { // Checks wether …

Member Avatar for Graphix
0
183
Member Avatar for Swapsry

Hi frnds... I am new to AJAX....now i m trying to learn Prototype AJAX... here i have a doubt, plz check this one.... [CODE] new Ajax.Request("submit.php", { method: 'post', [B]postBody: 'name='+ $F('name') 'mobile='+ $F('mobile') 'email='+ $F('email') 'address='+ $F('address'),[/B] onComplete: showResponse });[/CODE] here how can i send more number of variables....(bold …

0
62
Member Avatar for sreecheck

Hi, I want to access a textbox in content page (contentplaceholder1) from a .JS file. From inline javascript i am to do so using [ICODE]document.getElementById('<%=TextBox1.ClientID%>')[/ICODE] But from .JS file this throws an error. Although here following does work.. [ICODE]document.getElementById('ctl00_ContentPlaceHolder1_TextBox1') [/ICODE] Is there anyway to make this dynamic so as to …

0
96
Member Avatar for deadmancoder

i have a form.. i validated it.. if the form has an empty field, instead of popping up an alert box, i need to display a message that goes off say after 5 seconds.. any idea of how to do it?

Member Avatar for digital-ether
0
391
Member Avatar for Ghostenshell

Could someone show me how to add line numbers to a sorted list? If you need the code it is under the last thread I started. I started using document.write() but every time I did this the page would erase.

0
72
Member Avatar for swaters86

I'm looking for a snippet of code that would let me generate testimonials, quotes or any string value randomly on a webpage. I would like for it be standards compliant, XML based(meaning I would store the testimonials in an xml file), and the less obtrusive it is, the better. Where …

Member Avatar for mejohn
0
823
Member Avatar for Terry56

Hi to al :)l, Hope all will be fine. I want to include a link in the alert method.I tried this [code=JavaScript] alert("Please enable your java to experience this enhanced page." + '<a href="http://www.java.com/en/download/index.jsp" target="_blank">Free Download Java</a>'); [/code] But this will not made a link it shows all as it …

Member Avatar for almostbob
0
229
Member Avatar for gokul.raja

Hello, This is Gokul Rangarajan. I need a suggestion or code in JavaScript which reads the MS Word document page settings and number of pages. I know how to open and read a MS Word document, but i couldn't able to get page properties. Some one please help me with …

Member Avatar for gokul.raja
0
186
Member Avatar for mvt6204

Hello guys, is there a way to detect whether JS is enabled or not, using PHP codes? Thanks in advance. =)

Member Avatar for CalmQuiet
0
192
Member Avatar for dangari

Hi all.Am new to this forum so cut me some slack if I don't articulate my problem with utmost clarity.My problem is that I have a javascript function such as: function modReg(x,y) { <!-- var answer = confirm ("Do you really want to deregister user" +x+"?") if (answer) { document.leo["id"].value=x; …

Member Avatar for dangari
0
160
Member Avatar for Terry56

Hi to all, Hope you all are fine.I have a javascript to check whether java is installed or not on your system.The code is [code=JavaScript] <body> <script language="Javascript" type="text/javascript"> if(!navigator.javaEnabled()){ alert('Enable your java to expeirience this java enhanced page or\n try install it...'); location.replace('http://java.sun.com'); window.open('instructionsforintallingjava.html'); } else{ document.write('<applet watever></applet>'); } …

Member Avatar for Terry56
0
187
Member Avatar for Ghostenshell

New to JavaScripting and copying information out of a book. I understand the concept of the code but I do not know why it is not working. I can type info in both boxes but the information does not add. Tried it in three browser FF, IE, and Chrome. [CODE]<html> …

Member Avatar for Ghostenshell
0
112
Member Avatar for filch

Ho, I am building a large registration form. In this form, a sponsor/educator must register himself or herself and then may add up to 6 more " delegates" in pairs. The first two pairs registration info on the form is shown by default. I need to hide the other two …

Member Avatar for filch
0
128
Member Avatar for matthewl

When I looked at Get started tutorial at Jquery.com I thought that it took more code in the Get started tutorial then it would just writing it myself. I really did not see any pros so I am asking this question. What are some advantages Jquery has? I just want …

Member Avatar for serkan sendur
0
52

The End.