jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for matthewl

I get an error (Object doesn't support this property or method) on 56. In Internet Explorer and I would like to try to keep it cross browser compatible. This is the source of the function: [CODE=javascript]SM.Util.prototype.constructor.Notify = function(txt) { chat = document.getElementById('chat'); //this is line 56 and chat is a …

Member Avatar for Troy III
0
162
Member Avatar for DarkChao

Hello I've been trying to create a function that creates objects and another function that can delete them when triggered the objects code is generated server side and triggers the function passing the object data. The object data sort of looks like this [code] <OBJECT id="RandomNumbers" width="0" height="0" style="position:absolute; left:0;top:0;" …

Member Avatar for Troy III
0
84
Member Avatar for smvec

hi.. im dynamicelly creating text box in a html file using javascript.. [CODE]<script> function create_input_boxes() { if(document.getElementById("name0")) { return true; } var boxes=""; var num_boxes=document.getElementById("num_boxes").value; if(num_boxes) { for(var i=0;i<num_boxes;i++) { boxes+="<input id='name"+i+"' name='name"+i+"' value=''><br />"; } document.getElementById("textbox_container").innerHTML=boxes; } return false; } </script> </head> <body> <form id="theForm" action="dynamic.php" method="post" onsubmit="return create_input_boxes();"> …

Member Avatar for smvec
0
98
Member Avatar for kosofi

need to read and write to xls (excel sheet) using javascript read and write should be to specific cell in that sheet if its possible , please help do it thanx .

Member Avatar for kosofi
0
145
Member Avatar for valonesal

Ok Im am so very lost on what to do now, I have written the php code and would like to display the contents of what is being echoed through the url. Example is by entering mywebsite.com/index.php?dog=dogs it returns "a dog" mywebsite.com/index.php?dog=littledog returns "a little dog" What I would like …

Member Avatar for Atli
0
99
Member Avatar for murthyvishu

I want to know the coding for ajax calendarextender control that displays 2 months calendar. Is this possible with Ajax calenderextender control? if it is, then please let me know the process.. Please anyone help me out in this.. Thanks in advance Vishalakshi

Member Avatar for Atli
0
55
Member Avatar for omotoyosi

Please all, I am currently working on a web application which i must submit as soon as possible. I have a button and a text box. What i want is that if the textbox is empty, the button should be invisible. Immediately the user starts typing in the text the …

Member Avatar for Geekitygeek
0
132
Member Avatar for avirag

I need one more help DdoubleD.In my application I have applied functionality for searching various string(form text) which are the combination of characters and math symbols. Now for varoius symbols like squareroot, cuberoot , fraction, exponent, power,we cannot enter them directly from keyboard.So I have made form text in such …

Member Avatar for DdoubleD
0
130
Member Avatar for nokomoli

Hi guys, i am facing a problem at Vb.net. There is i have a html editor created by myself. i also add a dlghelper but when i run at localhost, and click a button to show color dialog, java script runtime error occured and wrote "Microsoft JScript runtime error: 'dlgHelper' …

0
74
Member Avatar for veledrom

Hi, This code doesn't work in Firefox? Is there any other way of closing window? [code]<A href="javascript: self.close ()">Close this Window</A>[/code] Thanks

Member Avatar for beeerlover
0
96
Member Avatar for SKANK!!!!!

[CODE]javascript:history.go(-2)[/CODE] makes it go two pages back for links but how do u put it in the script tags just when the page loads go back 2 pages?

Member Avatar for almostbob
0
77
Member Avatar for valonesal

We are trying to ensure that information is seen even if javascript is disabled. So we would like to create something that opens a popup as normal however if javascript is disabled it opens a new tab or window with the information. But if javascript is enabled it just opens …

Member Avatar for valonesal
0
143
Member Avatar for himi

Hi , I am trying to create a webpage. It has 3 frames (left, middle and right). I want to be able to drag images from the left and the right frame into the middle frame. Each time i try to drag an image from one frame to another , …

Member Avatar for peter_budo
0
125
Member Avatar for emhmk1

Hi i have another query i would like to run by you. I have a javascript code which i would like to implement in my site but i have come across an error. The JS generates a new input text field once a button is clicked but i'm uncertain of …

Member Avatar for emhmk1
0
121
Member Avatar for baltazar

Hi, I'm trying to split a string with multiple delimiters using the PHP preg_split function. I am trying to separate the numbers from the units in terms like 172px, 100%, 2.5ems etc... i.e. after I run a preg_split on 172px I want the resulting array to have array[0] = 172 …

Member Avatar for baltazar
0
1K
Member Avatar for Ariel_medel

I have this code: [SIZE="2"][CODE] txt4="<div style='margin-top:4px'>"; for (n=0;n<xy.length;n++) { txt4=txt4 + "<div>"; iconsb=xy[n].getElementsByTagName("SUBLINK"); iconsb2=xy[n].getElementsByTagName("SUBCLASS"); iconsb3=xy[n].getElementsByTagName("SUBCOPY"); subclass=xy[n].getElementsByTagName("SUBCLASS")[0].childNodes[0].textContent; subcopy=xy[n].getElementsByTagName("SUBCOPY")[0].childNodes[0].textContent; { try { if (subclass==="download_pod"||subclass==="download_arrow"||subclass==="video") { var down="<a id='" + subclass + "' style='float:right; display:inline-block; margin-left:1em' href='" + iconsb[0].childNodes[0].textContent + "' class='" + subclass + "'>" + subcopy + "</a>"} else if …

0
62
Member Avatar for beshoyatef

Here i draw the board for chess and put all pieces in there places on the board ... then i want when i pressed by mouse on the board give me the value of x , y . I tried with all things but i cann't solve this problem please …

Member Avatar for VernonDozier
0
95
Member Avatar for haggis-man

A client would like me to implement spreadsheet-style form traversal using arrow keys, i.e. left arrow to submit entry and move left by one field on the form, and so on. Does anyone have a browser-independent method of doing this please? All input fields are single line text fields.

Member Avatar for network18
0
95
Member Avatar for joseph99

Can anyone please tell me how to turn on Java script,I have lost the ability to veiw photos or videos on my laptop Dell inspiron 630m. When I try to veiw anything it says that I need to download Flash player or I have to turn on Java script.

Member Avatar for saninfosys.com
0
131
Member Avatar for sevensamurai

Hi, I'm no great shakes at Javascript... I do all my stuff through Dreamweaver. My situation is fairly simple. I have image "A" that has its own mouseover and mouseout (to change it back to what it was). BUT I am having difficulties figuring out how to get the mouseOVER …

Member Avatar for Troy III
0
1K
Member Avatar for Ashumrcool

i dont have a code hi guys i want to check the username at registration time automatically when the user name txtbox lost focus after entering a username like happens in most sites dynamically.

Member Avatar for Ramesh S
-1
101
Member Avatar for jithusdani

Hi Folks, I have created a text box dynamically using javascript. Now i want to call a javascript function in the OnChange Event Of that Control is there any way to do the same.?? Here is the code what i tried. [CODE] el[j] = document.createElement('input'); el[j].type = 'text'; el[j].name='work'+j; el[j].onChange='lookup(this.value)'; …

Member Avatar for jithusdani
0
99
Member Avatar for severman

hi all. i hope someone could help me. i'm trying to build a bidding site using ajax, and php. what i want to do is that: when the bid time is over 5 minutes, the "div" i've placed will refresh every 10 seconds, and when its under it will refres …

Member Avatar for severman
0
159
Member Avatar for apj

I now currently using aptana studio to create a mobile widget. I have created a event calendar. On click on a date, the event details will be display. the event details is currently stored in a list array. Now I would like to create a reminder function. For example, two …

0
53
Member Avatar for moonlighter724

I've only just started playing around with Javascript, so don't mind what I say if I misuse a term or ask to do something that's impossible. I'm having a problem opening a program through Javascript. I want the script to start a game that people can play. I'm using the …

Member Avatar for preemals
0
121
Member Avatar for jithusdani

Hi Folks, I have created a text box dynamically using javascript. Now i want to call a javascript function in the OnChange Event Of that Control is there any way to do the same.?? Here is the code what i tried. [QUOTE] el[j] = document.createElement('input'); el[j].type = 'file'; el[j].name='work'+j; el[j].onChange='lookup(this.value)'; …

Member Avatar for somedude3488
0
103
Member Avatar for Kali7

Hi everyone, I am a graphic / web designer who turned into a developer and now am being thrust against my will into sys admin. I Design on a PC, and Servers all Linux. I am at that dangerous stage, you know, I know enough to really stuff up a …

Member Avatar for Kali7
0
148
Member Avatar for dalip_007

Hi all i want to let the user draw image or drawings on web page using html canvas element like stuff and then provide them to save that image or drawing on server so that next time they can get it as it was before to edit further. Please let …

Member Avatar for dalip_007
0
82
Member Avatar for Ammalgam

Hi, I have a quick question. Does anyone have a script where I can rotate between 2 Javascripts when a page loads for split testing. So when page loads once, javascript A will fire. On next load, javascript B will fire and so on. I have found lots of banner …

Member Avatar for Airshow
0
100
Member Avatar for virtualmisc

My friend asked me to convert a doc file he sent me into html. He said he wanted it to look exactly like the doc. So I put <br /> in between the lines so the text appears like the one in doc. But he says now the text looks …

Member Avatar for Mohan0704
0
103
Member Avatar for bharath_neo

Hi, I am new to ajax and was taking look at code snippets. Most of the code open and send are like this: [code] var client = new XMLHttpRequest(); client.open("POST", "/log"); client.send(message); [/code] They open a connection and send the msg. Isnt connection open a costly call since the connection …

Member Avatar for ShawnCplus
0
65
Member Avatar for nazarahmat

hi, i need to use HtmlAsText as a background tool in my javascript coding.i need to access this tool without user interaction. then i have to code the command line that can access HtmlAsText. htmlastext.exe /run "c:\temp\convert.cfg"

Member Avatar for ShawnCplus
0
59
Member Avatar for planethax

OK, I am making a Form that will have about 65 check boxes, this data will be pulled from database. I need to validate form to be sure that 7 (no more no less) are checked. Can some one post a quick code snippet of the code validation for this? …

Member Avatar for wilch
-1
145
Member Avatar for shanawazway

I m getting problem while creating a dynamic website. In Ajax I have good tutorial book. but it missing, "how to create XML file filled with data which comes from SQL server. Second thing is that: How to retrieve the data from XML file. Please Help out me for this …

Member Avatar for Thirusha
0
60
Member Avatar for SKANK!!!!!

how can i use [URL="http://www.w3schools.com/HTMLDOM/met_win_setinterval.asp"]setInterval()[/URL] to make a slideshow of images with the code i have now that only has thumbnails that display in one big div(larger pic of the thumbnail) when the thumbnail gets hovered over.(onmouseover) this is the javascript function.: how can iuse set interval to make the …

Member Avatar for SKANK!!!!!
0
330
Member Avatar for hi.meral

I want to access one control of FCK through a html button (out side of fck) when we click on 'Paste as Plain text' image of FCK editor a popup window named `Paste as Plain text` is displayed I want to open that `Paste as Plain text` pop up window …

Member Avatar for hi.meral
0
92
Member Avatar for zorro-az

hi, everyone i would like to learn more about parentnode and childnode (with exaplanation) with the tutorials The reason i am beginner i dont understand this properties does anyone help

Member Avatar for Airshow
0
153
Member Avatar for amodi

Hello Friends, I have an <img> Tab to play a video(of type .wmv). The image tag is as follows: <img border="0" dynsrc="Test1.wmv" start="fileopen" loop="1" width=1081 height=838> Everything works fine, but now I need to play a video list (up to 5 videos). As soon as one video stops another video …

Member Avatar for Airshow
0
70
Member Avatar for jithusdani

Hi Folks, I have 2 texboxes with the name names like 'des0' and 'des1', So i need to validate this two controls for required filed with the help of loop. something like this [CODE] for (var i=0;i<=1;i++) { } [/CODE] So i have confused what will write inside the loop …

Member Avatar for network18
0
141
Member Avatar for jithusdani

Hi Folks, I have 2 texboxes with the name names like 'des0' and 'des1', So i need to validate this two controls for required filed with the help of loop. something like this [CODE] for (var i=0;i<=1;i++) { } [/CODE] So i have confused what will write inside the loop …

Member Avatar for jithusdani
0
107
Member Avatar for nazarahmat

javascript is new to me. i've to develop software using javascript. i know how to read file in javascript activeX. but i dun know how to input files in javascript activeX.

0
75
Member Avatar for mahe4us

Hi all, Iam trying to tigger some file which will be working in backend once the window is closed in php. Iam using onunload function in javascript but it triggers the file once we leave that particular page only. If we closed the window it didnt do anything. Anybody have …

Member Avatar for Member #120589
-1
189
Member Avatar for MDanz

hello, i echo this [CODE] echo "<td ALIGN='center'><div class='rollover'><a href='http://www.tsfdgdg.com/search.php?search=$stackname' style='text-decoration: none';> <table border='0' celpadding='0' cellspacing='0' id=\"point\"> <tr> <td width='100px' height='101px' ALIGN='center'> <font size=3 font face=Arial font color=white><b>$stackname</font><br><font color=orange font size=2>$posted</font></b> </td> </tr> </table></a></div> </td>"; [/CODE] here is the css code [CODE]<style type="text/css"> .rollover a { float: left; width: 101px; …

Member Avatar for Troy III
-1
146
Member Avatar for hajjo

on firefox its working. on ie it gives me error on page.. how to solve it?

Member Avatar for Troy III
0
65
Member Avatar for jrosh

I want to have a date picker for my application. It should be really simple... I went through many examples. But all I found contains very large files (LOCs)....How can I impliment a simple calender? to pick a date and time.... (jst wanna use them in two comboboxes... to pick …

Member Avatar for javaAddict
0
97
Member Avatar for camilia

hello, can i check with you all,how do i code to get the parameters from textbox in javascript and pass the parameters to the servlet after a button is click. thanks camilia

Member Avatar for Thirusha
0
269
Member Avatar for Mill_22

Hi all, The following link [url]http://www.codeproject.com/KB/webforms/disableListItems.aspx[/url] disables items 1 and 2 from the checkboxlist if the user selects checkbox item 3. Can someone PLEASE tell me how i could change the code in this link to work for ListBox. So if I had 5 items in the lisr box (below) …

Member Avatar for Ramesh S
0
904
Member Avatar for mark2326l

This is my first project using JavaScript. I have a PHP page that loads text fields "if" called for. I thought JavaScript would be a great way to get the total of all Text Fields without Submit. The code below is an example of my problem. [CODE]<SCRIPT language = JavaScript> …

Member Avatar for mark2326l
-1
102
Member Avatar for nazarahmat

i have html files at C:/Documents and Settings/USER/Application Data/Mozilla/Firefox/Profiles/ksx3y6oy.default/bookmarks.html. the html files is in my hard disk. then how im going to called the html files to be an input in my javascript coding.someone please help me

Member Avatar for nazarahmat
-1
140
Member Avatar for SKANK!!!!!

The End.