Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Community > Forum De Bell Tolls > [javascript] perchè? Thread Rating: 1 votes, 1.00 average.
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
maynard80
.novellino.

User info:
Registered: Jul 2007
Posts: 3 (0.00 al dì)
Location: Milano (e non interland, tendo a precisare)
Corso: informatica
Anno: SESTO
Time Online: 12 Days, 14:28:38 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[javascript] perchè?

sto lavorando da una settimana su codice javascript...funziona finalmente...o quasi...volevo chiedere:

le stringhe hanno un limite???

se le mie variabili string sono di qualche parola funziona tutto...se metto dei testi di una sessantina non funziona nulla! anche se sono + di 2 righe! non funziona nulla!!

__________________
msn Messenger: giamma80 at tiscali.it
ATHENA !

01-01-2004 19:55
Click Here to See the Profile for maynard80 Click here to Send maynard80 a Private Message Find more posts by maynard80 Add maynard80 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
maynard80
.novellino.

User info:
Registered: Jul 2007
Posts: 3 (0.00 al dì)
Location: Milano (e non interland, tendo a precisare)
Corso: informatica
Anno: SESTO
Time Online: 12 Days, 14:28:38 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

cacchio ho scoperto che se il contenuto della stringa lo scrivo da me funziona! ma se faccio un copia-->incolla da un file di testo (che è quello che facevo) non parte assolutamente il codice e la parte interessata della pagina html non viene visualizzata!

!!!!!!!!!!!!!!!!!!!!!!! ma perchè! ho l'esigenza di fare dei copia incolla! non posso riportare a mano!!!!!!!!!1 aaaaaaaHHHHhhhh

__________________
msn Messenger: giamma80 at tiscali.it
ATHENA !

01-01-2004 19:55
Click Here to See the Profile for maynard80 Click here to Send maynard80 a Private Message Find more posts by maynard80 Add maynard80 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.13 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Non è che insieme al testo vengono copiati anche dei CrLf (a capo)?

In questo caso Javascript interpreta l'a capo come la fine della stringa, interrompendo l'esecuzione del tuo codice.

E' una mia interpretazione, ma dovresti verificare questa cosa, facendo il copia/incolla di un testo tutto sulla stessa riga.

:)

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

01-01-2004 20:01
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
maynard80
.novellino.

User info:
Registered: Jul 2007
Posts: 3 (0.00 al dì)
Location: Milano (e non interland, tendo a precisare)
Corso: informatica
Anno: SESTO
Time Online: 12 Days, 14:28:38 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

mmhmm potebbe essere

__________________
msn Messenger: giamma80 at tiscali.it
ATHENA !

02-01-2004 13:44
Click Here to See the Profile for maynard80 Click here to Send maynard80 a Private Message Find more posts by maynard80 Add maynard80 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
maynard80
.novellino.

User info:
Registered: Jul 2007
Posts: 3 (0.00 al dì)
Location: Milano (e non interland, tendo a precisare)
Corso: informatica
Anno: SESTO
Time Online: 12 Days, 14:28:38 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

no...non è quello....chi di voi mi posta le funzioni in linguaggio c per copiare da un file txt ad un file .js?

__________________
msn Messenger: giamma80 at tiscali.it
ATHENA !

02-01-2004 13:50
Click Here to See the Profile for maynard80 Click here to Send maynard80 a Private Message Find more posts by maynard80 Add maynard80 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
0m4r
.grande:maestro.

User info:
Registered: Mar 2002
Posts: 7287 (0.86 al dì)
Location: Düsseldorf (DE)
Corso:
Anno: ESAMI FINITI
Time Online: 49 Days, 0:42:50 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

spiegati meglio.... cosa è che vuoi? che tipo di codice ti serve?

__________________
http://www.twitter.com/0m4r

02-01-2004 15:36
Click Here to See the Profile for 0m4r Click Here to See the Blog of 0m4r Click here to Send 0m4r a Private Message Find more posts by 0m4r Add 0m4r to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
maynard80
.novellino.

User info:
Registered: Jul 2007
Posts: 3 (0.00 al dì)
Location: Milano (e non interland, tendo a precisare)
Corso: informatica
Anno: SESTO
Time Online: 12 Days, 14:28:38 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

allora, ho un file havascript che utilizzo solo per metterci variabili (un altro file javascript per le funzioni), be ho bisogno di inserire una stringa abb. lunga come variabile, se essa ha circa dalle 10 alle 15 parole (non so quantificare in caratteri) funziona, se no niente, l'intero file va alle cozze e non funziona nulla..il tutto solo se faccio un palese copia/incolla da un file txt al javascript, se la stringa la scrivoa mano digitando io allora funziona e non ho problemi di sorta....ma non posso, devo riuscire in qualche modo...
cosa può essere?

__________________
msn Messenger: giamma80 at tiscali.it
ATHENA !

03-01-2004 21:07
Click Here to See the Profile for maynard80 Click here to Send maynard80 a Private Message Find more posts by maynard80 Add maynard80 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
lorenzo
...ma anche no.

User info:
Registered: Jun 2002
Posts: 3149 (0.38 al dì)
Location: Milano
Corso: F49
Anno: 00000011
Time Online: 49 Days, 1:47:46 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Non ho capito se la tua stringa è un array di caratteri o l'oggetto String. Il comportamento è abbastanza diverso.
In ogni caso, non puoi copiarla pezzo per pezzo, magari mettendola in stringhe diverse, e poi fare una concatenazione?

__________________
Non ti laureare, continua a cazzeggiare!

"È tutta merda..." - clod81

04-01-2004 11:40
Click Here to See the Profile for lorenzo Click Here to See the Blog of lorenzo Click here to Send lorenzo a Private Message Visit lorenzo's homepage! Find more posts by lorenzo Add lorenzo to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
maynard80
.novellino.

User info:
Registered: Jul 2007
Posts: 3 (0.00 al dì)
Location: Milano (e non interland, tendo a precisare)
Corso: informatica
Anno: SESTO
Time Online: 12 Days, 14:28:38 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

risolto, erano i caratteri di fine stringa il problema..
altra domanda veloce veloce, chi di voi mi posta al volo una bella funzione in C che trasforma un numero intero in un carattere? (il problema è che se il numero è >9 i caratteri sono <1. grazie!

__________________
msn Messenger: giamma80 at tiscali.it
ATHENA !

04-01-2004 16:29
Click Here to See the Profile for maynard80 Click here to Send maynard80 a Private Message Find more posts by maynard80 Add maynard80 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.13 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by maynard80
risolto, erano i caratteri di fine stringa il problema..
altra domanda veloce veloce, chi di voi mi posta al volo una bella funzione in C che trasforma un numero intero in un carattere? (il problema è che se il numero è >9 i caratteri sono <1. grazie!


Vedi che avevo ragione io?! :D

Non ho capito il tuo secondo problema... :?

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

04-01-2004 20:24
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 00:02.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.132 seconds (62.75% PHP - 37.25% MySQL) con 25 query.