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,254
Total Threads: 80,792
Total Posts: 566,471
There are 1169 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Other Programming Languages :

My first usefull ajax script!

Thread title: My first usefull ajax script!
Closed Thread  
Page 3 of 4 < 1 2 3 4 >
    Thread tools Search this thread Display Modes  
08-10-2007, 09:15 PM
#21
Vizon is offline Vizon - Click for my Image
Status: R'tard
Join date: Jan 2007
Location: USA
Expertise:
Software:
 
Posts: 2,959
iTrader: 21 / 100%
 

Vizon is an unknown quantity at this point

  Old

There is no check to see if anything is inputted in the field

08-10-2007, 09:20 PM
#22
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,894
iTrader: 18 / 100%
 

Village Genius will become famous soon enough

  Old

Originally Posted by Vizon View Post
There is no check to see if anything is inputted in the field
I know, I have taken the time to find that url validatior I have sitting around my computer yet.

08-11-2007, 03:09 AM
#23
Choco is offline Choco
Status: Member
Join date: Jul 2007
Location: USA
Expertise:
Software:
 
Posts: 240
iTrader: 2 / 100%
 

Choco is on a distinguished road

Send a message via MSN to Choco

  Old

Originally Posted by Village Idiot View Post
I know, I have taken the time to find that url validatior I have sitting around my computer yet.
As for submitting without JS, just set the action of the form to the PHP page that shortens the URL. Then, in the onsubmit handler of the form, put 'return false'. The onsubmit handler will only fire in a javascript-enabled browser, meaning it'll run AJAX with JS and submit the form normally without.

Nice job so far though

08-11-2007, 08:28 AM
#24
gold killer is offline gold killer
Status: I'm new around here
Join date: Aug 2007
Location:
Expertise:
Software:
 
Posts: 4
iTrader: 0 / 0%
 

gold killer is on a distinguished road

  Old

Looks good, make it look nicer but so far great job

09-05-2007, 08:54 AM
#25
Sutocu is offline Sutocu
Sutocu's Avatar
Status: I'm new around here
Join date: Sep 2007
Location:
Expertise:
Software:
 
Posts: 12
iTrader: 0 / 0%
 

Sutocu is on a distinguished road

  Old

Made my url longer Otherwise, it's working fine.

12-13-2007, 01:11 PM
#26
tristan is offline tristan
Status: I'm new around here
Join date: Dec 2007
Location:
Expertise:
Software:
 
Posts: 8
iTrader: 0 / 0%
 

tristan is on a distinguished road

  Old

I might suggest checking your database to see if a URI has already been entered. If so, just return that link instead of whipping up a new one. Next, some sort of randomly-generated link ID might be good, as right now, I can just go back through every link that people have submitted by decrementing the ID number.

Also, you already know about validation. Cool tool.

03-21-2008, 02:48 PM
#27
Enes is offline Enes
Enes's Avatar
Status: Junior Member
Join date: Jan 2008
Location:
Expertise:
Software:
 
Posts: 37
iTrader: 0 / 0%
 

Enes is on a distinguished road

  Old

Shows error, i use FF.

03-22-2008, 02:51 PM
#28
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,894
iTrader: 18 / 100%
 

Village Genius will become famous soon enough

  Old

Um yeah, that would happen, its a 404. The script isnt up anymore, this thread is really old.

03-30-2008, 07:41 AM
#29
Garrett is offline Garrett
Status: Waving
Join date: Aug 2005
Location:
Expertise:
Software:
 
Posts: 2,694
iTrader: 11 / 100%
 

Garrett is on a distinguished road

Send a message via MSN to Garrett

  Old

Originally Posted by Village Idiot View Post
Um yeah, that would happen, its a 404. The script isnt up anymore, this thread is really old.
Hahahaha...

Anyhow Village, just a tip, as you asked for it.

http://www.prototypejs.org/api/event/observe

You can observe certain things from certain elements, and do things with them.

04-08-2008, 07:58 PM
#30
William is offline William
William's Avatar
Status: Junior Member
Join date: Apr 2008
Location: Orlando Florida
Expertise:
Software:
 
Posts: 35
iTrader: 0 / 0%
 

William is on a distinguished road

Send a message via ICQ to William Send a message via MSN to William Send a message via Yahoo to William

  Old

IM using Firefox and is not work for me!

Closed Thread  
Page 3 of 4 < 1 2 3 4 >


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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