15,700 Topics

Member Avatar for
Member Avatar for Ghodmode

Is it possible to iterate through an anonymous array of strings with a for loop? Here's what I'm trying to do:[code]for ( i in ['country', 'city', 'state'] ) { doSomethingWithString(i); }[/code] What I want is the string, but what I'm getting is the index number of the array, which I …

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

Hello all. I am unable to solve two problems when creating a contacts form using dreamweaver CS3. My other problem is posted under the heading, "Setting text field to accept only alphabetical characters". For this posting, can someone please tell me how to modify my code, pasted below, so that …

Member Avatar for drkenrich
0
151
Member Avatar for nokomoli

Hi guys, currently i faced a problem that is i need to add some extra text into HTML Editor (AJAX) but i fail to get the text cursor location, have anyone can tell me how to solve it??

0
74
Member Avatar for cuzner

Apologies for the huge post! I am having trouble with ajax right now on my site: (This site is only a first draft and has a few nav problems with the flash - will sort it soon) My main problem is I have an Ajax code on the index page …

Member Avatar for Thirusha
0
200
Member Avatar for dombit

Ok, I use apache web server to host a club website within a school network. Now I need a script to display the ip address of my web sever because it is constantly changing. Is there scrip that will perform this function. note: the site only works within the school …

Member Avatar for Ghodmode
0
114
Member Avatar for wtd

Hi, I made this test page: [url]www.wearwolfdesign.com/index.php[/url] In Safari, Opera, Internet Explorer and Google chrome it works perfectly all look slightly different but acceptable. The problem is in FF the text at the top looses all it's format and goes a horrible font with no positioning. The second issue is …

Member Avatar for wtd
0
131
Member Avatar for Jayakrishnan_gk

I want the cursor to be in a particular textbox when the page loads. I achieved it using document.formname.formname.focus() But the textbox has a default text. And i want it to disappear once the user starts typing. how can i get rid of this default test ?

Member Avatar for Jayakrishnan_gk
0
136
Member Avatar for kndsti

I've try to figure it since 3 days a go..:-( and sorry for my english. what i want to do is displaying a random link on my conduit toolbar and it change randomly everytime EBNavigateComplete event occur. EBNavigateComplete is just one of conduit's event. It works fine on my firefox …

0
63
Member Avatar for leesyy

hi, i am currently working on aptana studio nokia wrt plugin to develop a mobile widget where i need to retrieve data from database. i've created a java servlet in eclipse to connect and execute query to the ms sql server 2005 database. in aptana, i am using js file …

0
65
Member Avatar for swthurmond

I am trying to populate a drop down list in an HTML form that pulls it's data from a datbase. Basically, the users can manage the values via a differnt interface, but the web page will present what ever values are in a given list. I can make the list …

Member Avatar for swthurmond
-1
873
Member Avatar for hajjo
Member Avatar for Troy III
0
62
Member Avatar for ranyapalanivel

hi to all i am new to ajax. i have create menus and that menu i gave a link on that link page i want to design a form and submit the form after submitting the form the action of the submit button has be done and the form only …

Member Avatar for Thirusha
0
33
Member Avatar for bvaz

I know this must be simple because I cannot find a reference to it. I would like to use javascript to load the background-color value of a table row into a css file. The background will vary depending on which menu option is chosen. To hopefully clear this up, the …

Member Avatar for bvaz
0
100
Member Avatar for nokomoli

Hi guys, I am facing a weird problems which is i am fail to get cursor position at DIV at IE8 but work at IE7 or IE6. Can anyone tell me how to solve this problem.

Member Avatar for nokomoli
1
264
Member Avatar for vidhyaponnusamy

Hi i am new to ajax but i want to do one small concept in ajax i have all the menus designed in html if i click the menus i want to go to the particular page but that page should not open as a separate window i want my …

Member Avatar for Thirusha
0
56
Member Avatar for Inny

Help my blog comment form and button are not appearing. Whats wrong? [url]http://codisarc.blogspot.com/[/url] <a href="http://codisarc.blogspot.com/2009/10/finally-results-are-in.html#comments"location.href=http://codisarc.blogspot.com/2009/10/finally-results-are-in.html#comment-form;> 0</a> </style> <link rel="me" href="http://www.blogger.com/profile/11763506196893470340" /> <link rel="openid.server" href="http://www.blogger.com/openid-server.g" /> <!-- --><style type="text/css">@import url([url]http://www.blogger.com/static/v1/v-css/navbar/697174003-classic.css);[/url] div.b-mobile {display:none;} </style> P.S I get this Error... [quote]Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; …

Member Avatar for Inny
0
359
Member Avatar for cmills83

Hi I have a page with a bunch of divs set to display:none with 70kb background images. As buttons are clicked the divs are displayed. The background images are specified in an external stylesheet, pc firefox, mac ff, mac safari and every real browser ignors them until the div is …

Member Avatar for Troy III
0
105
Member Avatar for drewj

Hi, I am not sure if what I am trying to do can be done, but basically I want to add/edit/delete information in a text area from inputs. I know how to add from inputs to text area but I am struggling with the edit and delete. [CODE] <script language="javascript" …

Member Avatar for abxyij
0
317
Member Avatar for lilamylil

[CODE] <embed id="test" src="http://*.***.**********.com/images/****_*****/********/*************.swf?gsiUrl=www&amp;version=103&amp;quality=low&amp;location=forum" width="200" height="100" allowScriptAccess="always" play="true" wmode="window" loop="true" quality="medium" [COLOR="#ff0000"] flashVars="userEnvironmentId=[COLOR="Red"]2962041[/COLOR]"[/COLOR] type="application/x-shockwave-flash" class="forum-flash-sigs" pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed> [/CODE] i want to change the value with a button [CODE] <input type="button" class="button" value="tank number" onclick="load1()" id="jtn"/> <input type="button" class="button" value="tank number" onclick="load2()" id="jtn"/> <script type="text/javascript"> function load1() {document.getElementById('test')userEnvironmentId=.value=37656; } function load2() …

Member Avatar for lilamylil
0
67
Member Avatar for leegeorg07

Hi, the site [url]http://932gs.co.cc/secure_site.html[/url] loads fine for ie and chrome/chromium but for some reason the javascript wont load, can people verify this and if it is true, how can I fix it?

Member Avatar for leegeorg07
0
95
Member Avatar for EddieC

With all the libraries available that have emerged, Java and Ajax applications practically build themselves these days. This week Java tool maker Instantiations added support for Ext GWT to [url=http://www.instantiations.com/gwtdesigner/]GWT Designer 7.2[/url], the latest version of its Eclipse-based drag-and-drop GUI-building environment that can be had for as little as $5 …

1
328
Member Avatar for Graphix

I am currently working on a small script that allows people to insert BB-codes to edit their text. They are able to click a button (for example underline) and then the bb-code will appear at the end of the textfield-value. How can i retrieve the current position of the cursor …

Member Avatar for Graphix
0
182
Member Avatar for Pleasant Day

My web site will be on their hard disk, but the font I use will not be added to their C:\WINDOWS\FONTS But I want them to be able to see my non default font, Though I can put the font in the directory of the web page. Can this be …

Member Avatar for Pleasant Day
0
142
Member Avatar for aditi_19

I have a question : When i combine php and javascript as in the code below, my current php page does not navigate to timesheet.php until i write document.write() in my javascript code? Why is it so? It slows down reloading the form and a white screen also flashes before …

Member Avatar for aditi_19
0
148
Member Avatar for hajjo
Member Avatar for ShawnCplus
0
52
Member Avatar for kosofi

last post i tried to read/write data with xls using jscript but cant do it yet but if its possible with xml thats will be fine , any ideas ?

Member Avatar for kosofi
0
40
Member Avatar for Sjaroow

Hi all! In the following code the Onclick events change the background images. My problem is that after you click on another link i want the previously changed backgrounds to change back to its original background image. I hope i made some sense :P. Help is MUCH apreciated. Gr, Jarl …

Member Avatar for Sjaroow
0
106
Member Avatar for gaz

hi i am trying to change some divs with the time however i seem to have gone wrong at some point and cant seem to figure out where. Please excuse the writting in them i am going to change it thanks.[CODE] <script type="text/javascript"> /*<![CDATA[*//*---->*/ var one, two, three, four,five, six, …

Member Avatar for network18
0
100
Member Avatar for shamseerazeez

I have a website with three prouct pages. I only use one support page where users have a form facility to enter their information. Each product page includes sublink like features, benefit, support. My problem is when a user click on a support link (exactly from a product page) it …

Member Avatar for shamseerazeez
0
121
Member Avatar for Altairzq

Hello all. I have a mootools accordion in the website I'm building that uses two classes: "toggler" for the titles and "element" for the content. I'm in the need of adding an input field at the bottom of the "element" DIV that the user has opened. Problem is, every content …

Member Avatar for Altairzq
-1
124
Member Avatar for zorro-az

hi, everyone i am new beginner in JavaScript environment i have taken from internet image rollover script but i dont understand some tricks in JavaScript does anyone help me? below is my code Help with Code Tags (Toggle Plain Text) [CODE]<html> <head> <title>A More Effective Rollover</title> <script> window.onload = rolloverInit; …

Member Avatar for Troy III
-1
224
Member Avatar for dalip_007

hi All it is possible using java script or ajax to store mouse coordinates into database on any mouse even like onclick, onmousemove, onmouseup etc? if yes then how?

0
74
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
151
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
71
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
141
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
95
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
53
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
89
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
73
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
136
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
107
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
57
Member Avatar for dalip_007

hi all Can anyone please tell me how to take screen shot of web page using javasctipt. Even is it possible Thanks

Member Avatar for gaz
-1
135
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 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
92
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
152
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
49
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
104
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
78
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
95

The End.