Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,256
Total Threads: 81,169
Total Posts: 566,839
There are 43 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Javascript :

Should I use Javascript?

Thread title: Should I use Javascript?
Reply  
Page 1 of 3 1 2 3 >
    Thread tools Search this thread Display Modes  
09-01-2008, 08:45 PM
#1
EgilSkallagrim is offline EgilSkallagrim
Status: Junior Member
Join date: Dec 2007
Location:
Expertise:
Software:
 
Posts: 33
iTrader: 0 / 0%
 

EgilSkallagrim is on a distinguished road

  Old  Should I use Javascript?

I currently intend to use Javascript in my portfolio site for form validation, a stylesheet switcher, and perhaps the navigation.

I am aware that some users turn off Javascript when they browse, but I am wondering if they are a significant number. Many of the treads concerning this subject I found on other websites where rather old, so I would like some recent opinions.

I understand that degrading well and accessibility are important for many sites. I am trying to gauge how important it will be for my own.

Reply With Quote
09-01-2008, 09:13 PM
#2
xdoomx is offline xdoomx
Status: Member
Join date: Feb 2005
Location: Quebec, Canada
Expertise:
Software:
 
Posts: 441
iTrader: 1 / 100%
 

xdoomx is on a distinguished road

Send a message via AIM to xdoomx Send a message via MSN to xdoomx

  Old

Use it in a non-obstrusive way, and make sure it has no negative impact for users that have it disabled. Those who have it enabled will see a little extra and those who don't won't even notice anything wrong if it degrades nicely.

Reply With Quote
09-01-2008, 09:29 PM
#3
Andrew R is offline Andrew R
Status: Request a custom title
Join date: Dec 2005
Location: Arizona
Expertise:
Software:
 
Posts: 5,200
iTrader: 17 / 95%
 

Andrew R is on a distinguished road

  Old

Form validation: Use PHP or another backend language.
Stylesheet switcher: JS
Navigation: JS, although it's possible to do it with CSS only.

Reply With Quote
09-02-2008, 03:21 AM
#4
iwearoddsocks is offline iwearoddsocks
Status: Junior Member
Join date: Mar 2008
Location:
Expertise:
Software:
 
Posts: 91
iTrader: 3 / 100%
 

iwearoddsocks is on a distinguished road

  Old

Also you have to regard security as an issue here, people can easily edit javascript, so dont use it with sensible data.

Reply With Quote
09-02-2008, 01:01 PM
#5
Raphy is offline Raphy
Raphy's Avatar
Status: Member
Join date: Aug 2008
Location: Boca Raton, FL
Expertise:
Software:
 
Posts: 146
iTrader: 4 / 100%
 

Raphy is on a distinguished road

Send a message via AIM to Raphy Send a message via MSN to Raphy Send a message via Skype™ to Raphy

  Old

Originally Posted by iwearoddsocks View Post
Also you have to regard security as an issue here, people can easily edit javascript, so dont use it with sensible data.
Follow that simple rule and you should be good to go

Reply With Quote
09-02-2008, 01:58 PM
#6
Village Genius is offline Village Genius
Village Genius's Avatar
Status: Geek
Join date: Apr 2006
Location: Denver, CO
Expertise: Software
Software: Chrome, Notepad++
 
Posts: 6,892
iTrader: 18 / 100%
 

Village Genius will become famous soon enough

  Old

Use javascript minimalistically, and work under these general rules:
1. Javascript can be disabled, added to, or even edited. What you give the browser is little more than a suggestion of what it should run.
2. Always work under the assumption that the data javascript gives you is forged.
3. Always (ALWAYS) validate your input with a server side language like PHP that can not be edited by the client.

Reply With Quote
11-22-2008, 11:47 PM
#7
HxC | Jeremy is offline HxC | Jeremy
Status: I'm new around here
Join date: Nov 2008
Location: CA, United States
Expertise:
Software:
 
Posts: 18
iTrader: 0 / 0%
 

HxC | Jeremy is on a distinguished road

Send a message via AIM to HxC | Jeremy

  Old

Originally Posted by Andrew R View Post
Form validation: Use PHP or another backend language.
Stylesheet switcher: JS
Navigation: JS, although it's possible to do it with CSS only.
I prefer to do navigation in CSS, rather than JS.

Reply With Quote
12-27-2008, 12:20 PM
#8
dj-iceman is offline dj-iceman
Status: Junior Member
Join date: Jun 2008
Location:
Expertise:
Software:
 
Posts: 36
iTrader: 0 / 0%
 

dj-iceman is on a distinguished road

  Old

Javascripts are always good! I use 'em on my website too. They make the whole site so... professional but then again, cool. You know what I mean?

Reply With Quote
12-28-2008, 01:27 AM
#9
Ali22 is offline Ali22
Ali22's Avatar
Status: Member
Join date: May 2007
Location:
Expertise:
Software:
 
Posts: 257
iTrader: 2 / 100%
 

Ali22 is on a distinguished road

  Old

I think IE blocks JS unless you enable it when it asks with that little annoying bar at the top. Stupid IE.

Reply With Quote
12-31-2008, 06:17 PM
#10
zyml is offline zyml
zyml's Avatar
Status: I'm new around here
Join date: Dec 2008
Location: Singapore
Expertise:
Software:
 
Posts: 3
iTrader: 0 / 0%
 

zyml is on a distinguished road

Send a message via MSN to zyml

  Old

Originally Posted by Leo View Post
I think IE blocks JS unless you enable it when it asks with that little annoying bar at the top. Stupid IE.
If I'm not wrong they only do it if the page you are viewing is from a local hosting server.

Reply With Quote
Reply  
Page 1 of 3 1 2 3 >


Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed