# Search:

Type: Posts; User: JoeHillyard

1. ## Thread: Passing span value to PayPal

by JoeHillyard
Replies
8
Views
3,409

### Appreciate the understanding! I have made an...

Appreciate the understanding!

I got the variable to the next page using local storage, formatted the variable to a float with 2...
2. ## Thread: Passing span value to PayPal

by JoeHillyard
Replies
8
Views
3,409

### Firstly i wasn't laughing at him, i meant it as...

Firstly i wasn't laughing at him, i meant it as light humour.

And yes i am probably a bit out of my depth but i have found over time that this is the fastest way i learn, but i wouldn't...
3. ## Thread: Passing span value to PayPal

by JoeHillyard
Replies
8
Views
3,409

### Thanks for the help, i apologize for my very...

Thanks for the help, i apologize for my very limited knowledge!

The label's are inside a fieldset which is inside a form! haha

So after :

var
words = getText('words'),
4. ## Thread: Passing span value to PayPal

by JoeHillyard
Replies
8
Views
3,409

### Essentially all i need to do is get the value of...

Essentially all i need to do is get the value of the span into a variable, is this possible or could anyone recommend a better way?

Thanks
5. ## Thread: Passing span value to PayPal

by JoeHillyard
Replies
8
Views
3,409

### Passing span value to PayPal

I have a js script which prints a value to innerText of a span. I am trying to take this value and pass it onto paypal as an amount.

The process goes:

form.php --> process.php --> PayPal
...
6. ## Thread: [RESOLVED] Javascript Simple Mathematical Problem

by JoeHillyard
Replies
5
Views
2,177

### Managed to fix it! Final script: ...

Managed to fix it!

Final script:

WordCount.words("file_attach", function(words) {
document.getElementById("words").innerText = words
7. ## Thread: [RESOLVED] Javascript Simple Mathematical Problem

by JoeHillyard
Replies
5
Views
2,177

I only had span and input because i was playing around with fixed etc! I have an external JS file which does the word count of attachment (WordCount). I took your snippet of...
8. ## Thread: [RESOLVED] Javascript Simple Mathematical Problem

by JoeHillyard
Replies
5
Views
2,177

### [RESOLVED] Javascript Simple Mathematical Problem

I have a script which reads the contents of an attached file and prints the number of words. I then wanted to add another field which does a simple mathematical calculation based on word count and...
Results 1 to 8 of 8