473,543 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Javascript Forum

JavaScript web scripting language - Ask questions about JavaScript development, jQuery, Vue, React, the DOM, cross-browser scripting, event handling, OOP, cookies, client-side form validation, built-in objects like Date, String, Array and Object, performance and more.
5
234
thread by: plemon | last post Jan 9 '07 by: Dr J R Stockton
How can I change the size of the text in a variable i.e. var hello = "hello there dreamy" How can I change they font size to a fixed size i.e. 11pt or 26pt? and How can I change it to match a CSS Style im using? thanks, P. Lemon
3
234
thread by: sylver | last post Jun 27 '08 by: fixertool
To convert "12q" to "12": var text = "12q"; var twelve = parseInt(text); //twelve == 12 or you can user parseFloat()..depends on your needs :D
3
229
thread by: Jorge | last post Jul 3 '08 by: czechboy
On Jul 2, 6:47*pm, Jorge <jo...@jorgechamorro.comwrote: Forget that. There's no need to move things around : document.body.style.visibility= "none"; (document.getElementById('centerPage')).style.visibility= "visible"; --Jorge.
2
222
thread by: sheldonlg | last post Jun 27 '08 by: Erwin Moller
Erwin Moller wrote: This goes along with what I have experienced. I recently (a few months bsck) started working in an AJAX framework. I quickly found that if I replaced some php code (while in the app), it was seen immediately by hitting the element that exercised the existing js code to exercise that php code. If, however, I...
1
221
thread by: art | last post Jun 27 '08 by: Thomas 'PointedEars' Lahn
Hi, We have an application where we select some customer data from some drop down menus and the customer record is displayed. Each drop down has an 'onchange' property associated with it. Selecting the first customer works. But, if you go to select a second customer, all you need to do is click to display the values in the first drop...
5
220
thread by: Prisoner at War | last post Jun 27 '08 by: Holger Jeromin
On Apr 26, 5:19 pm, Ben C <spams...@spam.eggswrote: Super!! It will take me a while to digest your idea, though...and in the meantime, may I ask: how about utilizing any CSS 2.x methods? And, first of all, really -- is your script or pseudo-code there JavaScript or CSS or both?? Sorry, I'm really not sure where one stops and the other...
8
220
thread by: Mark Livingstone | last post Jun 27 '08 by: Thomas 'PointedEars' Lahn
I have a form that uses the following: onSubmit="some_var = 'validated';" FireFox is OK with that. Internet Explorer isn't. any ideas why? Thanks.
1
219
thread by: Jan M. Nelken | last post Aug 24 '08 by: zalek
zalek wrote: by those who are not behind the scenes." Please trim out delirious mumbling of previous psychic when replying ... Jan M. Nelken
1
217
thread by: nogueira_cristina | last post Jun 27 '08 by: nogueira_cristina
Hello, I hope someone can clarify the following for me. I have page which replaces the code of a certain <divtag with other code (which on itself contains another div). The replacing of the code is done with AJAX. All divs have their id's set. The first replacement works fine. But I want the code in the second div (which is code that...
4
210
thread by: Harry | last post Jun 27 '08 by: Thomas 'PointedEars' Lahn
Hi Guys I dont really know how to do this: if there are a page of others, some data are embedded inside the data array like this: <script language="JavaScript" type="text/javascript"> <!-- var jsData = new Array(); jsData = {bowl:"I", year:1967, winner:"Packers", winScore:35, loser:"Chiefs", losScore:10}; jsData = {bowl:"II", year:1968,...
1
202
thread by: gentsquash | last post Jun 27 '08 by: gentsquash
With a JS dynamically created table elt = document.createElement("table"); // Statements filling in the table. document.body.appendChild(elt); I'd like to do the equivalent of elt.disabled = true;
3
202
thread by: Christoph Boget | last post Jul 9 '08 by: Lasse Reichstein Nielsen
I'm trying to get a regular expression to work in JS. It appears to be working everywhere else I'm testing it (an app called Regex Coach and php) but I can't seem to get it to work in JS. What the regex is supposed to do is: <p></p> OR <br> OR <br/>
1
187
thread by: korcs | last post Jun 27 '08 by: korcs
Hi All, I have a Problem with my CSS Stylesheet. My stylesheet does what I want on my local XAMPP Server, but on my online Server it generates a different code... It is quite Strange as I have the same Files on the local and remote Servers.
2
179
thread by: lynch | last post Jun 27 '08 by: Steve
How to call a javascript functio, but not from event (onClick, onChange, etc.) but juist from code (if something than some thing; else call a javascript function).
1
174
thread by: David Mark | last post Jul 28 '08 by: David Mark
On Jul 27, 9:37*pm, Jonas Smith <jonas.sm...@yahoo.comwrote: And the back button. Call window.top.location.replace instead. Also, fix the implied global (top.) And what did window.top evaluate to on this agent? My guess is undefined.
1
164
thread by: szako szako | last post Jun 27 '08 by: szako szako
I experienced the same, firebug doesn't show event changes linked to objects in html source... *** Sent via Developersdex http://www.developersdex.com ***
1
151
thread by: Thomas 'PointedEars' Lahn | last post Jun 27 '08 by: Alberto
Alberto wrote: You have been misled by the Prototype.js author's falling victim to the common misconception that prototype-based inheritance would not be an application of the object-oriented programming paradigm. Hopefully now you can begin to appreciate me and others repeatedly calling Prototype.js junk before. You may search the...
-
-
dbrewerton
thread by: dbrewerton | last post Jul 9 '16 by: dbrewerton
Moved:
1
76
thread by: VercelJoy | last post 1 Week Ago by: jjay2024
Got any recommendations for a blog CMS for nextjs? So far found Strapi, Directus and a few others. Looking for suggestions. Anything easy to maintain and allow easy frequent posting.
-
-
thread by: solartoys | last post Sep 18 '18 by: solartoys
Moved:

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.