Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 500
Search took 1.65 seconds.
Search: Posts Made By: tpeck
Forum: JavaScript programming 04-13-2013, 08:21 AM
Replies: 4
Views: 189
Posted By tpeck
That's really helpful - thank you! I already...

That's really helpful - thank you!

I already have a submit button in the form but I want to be able to also submit the same form from elsewhere. It's difficult to describe exactly why without...
Forum: JavaScript programming 04-13-2013, 04:00 AM
Replies: 4
Views: 189
Posted By tpeck
form submission outside the form

Is it possible to submit a form via a link or button if that link or button exists outside the form? If so, I would think it required javascript.


<form name="input" action="html_form_action.asp"...
Forum: Perl/ CGI 02-05-2013, 11:40 AM
Replies: 4
Views: 4,262
Posted By tpeck
Perhaps it's too old but it's called SaveForm.pl....

Perhaps it's too old but it's called SaveForm.pl.

A quick search and I now realise it is probably far too old a form.
Forum: Perl/ CGI 02-05-2013, 08:00 AM
Replies: 4
Views: 4,262
Posted By tpeck
Oh, er right. Yes, please...

Oh, er right. Yes, please...
Forum: Perl/ CGI 02-05-2013, 06:59 AM
Replies: 4
Views: 4,262
Posted By tpeck
submitting a form with hidden fields

I can usually add some hidden fields but my situation is a little different.

I am placing html pages wrapped up in an exe file. Consequently when the form on one of the pages is submitted it does...
Forum: JavaScript programming 01-25-2013, 07:45 AM
Replies: 9
Views: 435
Posted By tpeck
Just to finish off, using rnd me's example, this...

Just to finish off, using rnd me's example, this will work:


window.onload = function(){

// *****from rnd me ************************************
var store = (function() {
if...
Forum: MySQL 01-25-2013, 03:52 AM
Replies: 13
Views: 563
Posted By tpeck
<After the user has completed all 150 pages, do...

<After the user has completed all 150 pages, do you need to continue to remember all the answers from all pages?> Yes, that's it!

I have pm'ed you, OP. Can't thank you enough.
Forum: MySQL 01-25-2013, 02:40 AM
Replies: 13
Views: 563
Posted By tpeck
I ought to add that by returning to a session...

I ought to add that by returning to a session state I don't mean at the page they left off. Just with all the answers and text entered remembered.
Forum: MySQL 01-25-2013, 02:26 AM
Replies: 13
Views: 563
Posted By tpeck
I have absolutely no preconceptions about this!...

I have absolutely no preconceptions about this! If cookies will do it, I am happy to bake the project. Naturally, I don't want to set up two solutions if one will suffice for both the intra and...
Forum: MySQL 01-25-2013, 12:43 AM
Replies: 13
Views: 563
Posted By tpeck
Very succint explanations - thank you. ...

Very succint explanations - thank you.

Cookies, as far as I can tell, will quickly run out of space for the amount of saved data I am envisaging. And while I perfectly understand your need to log...
Forum: MySQL 01-24-2013, 07:47 AM
Replies: 13
Views: 563
Posted By tpeck
OP, wouldn't the use of cookies on an intranet...

OP, wouldn't the use of cookies on an intranet (where the site resides on the, say, C Drive) mean that individual sessions could not exist?

One user's answers would wipe out another's, wouldn't...
Forum: MySQL 01-24-2013, 07:35 AM
Replies: 13
Views: 563
Posted By tpeck
Thanks OP. I am still considering things you see....

Thanks OP. I am still considering things you see.

CASE B seems to me no different to many a website that remembers your answers to on-site questions, say, because of cookies. But cookies have...
Forum: MySQL 01-24-2013, 03:11 AM
Replies: 13
Views: 563
Posted By tpeck
data storage online and off

I hope this is the right place to ask.

I am trying to implement (or pay someone else to start implementing) a storage solution for data entered into a medium size web of pages.

The pages can...
Forum: JavaScript programming 01-24-2013, 02:49 AM
Replies: 9
Views: 435
Posted By tpeck
Thanks rnd me. I am starting to think that my...

Thanks rnd me. I am starting to think that my approach is wrong. I have to know first what storage system to use. But it all looks a bit insecure.

I'll ask about storage systems elsewhere.

I...
Forum: JavaScript programming 01-23-2013, 12:51 PM
Replies: 9
Views: 435
Posted By tpeck
You mean the packages? You can get them from...

You mean the packages? You can get them from here:

https://github.com/douglascrockford/JSON-js/blob/master/json2.js

and here:

https://github.com/andris9/jStorage

I haven't included my...
Forum: JavaScript programming 01-23-2013, 08:19 AM
Replies: 9
Views: 435
Posted By tpeck
global variables using jstorage

I am trying out a javascript storage system called jstorage. It is like cookies but without the restrictions. I can insert a value and resurrect it later with:


insert_value();
get_value();

...
Forum: JavaScript programming 01-22-2013, 07:44 AM
Replies: 2
Views: 205
Posted By tpeck
Thanks Philip. I have changed it to an...

Thanks Philip.

I have changed it to an <input> with the id="done":


<input type="text" class="Format4" id="done" name="done" size="1" maxlength="1" value="N">


It works!
Forum: JavaScript programming 01-22-2013, 06:04 AM
Replies: 2
Views: 205
Posted By tpeck
validate input

I need to check the input of a textarea. I require the cursor not to allow input of anything except "n" or "N" or "y" or "Y".

I have this so far:


function validate() {
var val =...
Forum: JavaScript programming 01-20-2013, 07:47 AM
Replies: 10
Views: 418
Posted By tpeck
OP, I have to use the document.write method...

OP, I have to use the document.write method because an inline frame is being called and depending on a cookie (giving the disk drive letter), the video being played is either streamed across the web...
Forum: JavaScript programming 01-17-2013, 12:03 PM
Replies: 26
Views: 913
Posted By tpeck
OP, the test found the files on the E drive. ...

OP, the test found the files on the E drive.

The other (updated) script produced nothing though.

rnd me's little script finds a drive letter (not the drive) but I am not running the script from...
Forum: JavaScript programming 01-17-2013, 08:30 AM
Replies: 10
Views: 418
Posted By tpeck
felgall, is there an alternative to...

felgall, is there an alternative to document.writeln (besides document.write)?

How else could you make the video play?
Forum: JavaScript programming 01-17-2013, 08:28 AM
Replies: 10
Views: 418
Posted By tpeck
Thank you xelawho. It turned out to be...

Thank you xelawho.

It turned out to be 'onfinish' which worked.

I have learnt to read the screed for the plugins, but I must confess, I would not have been likely to find that solution - even...
Forum: JavaScript programming 01-16-2013, 01:27 PM
Replies: 10
Views: 418
Posted By tpeck
It's weird Philip. ...

It's weird Philip.


soundManager.play('scratch','../../media/mp3/scratch.mp3');
alert("why do you need me?");
vid2();
//setTimeout('vid2()',3000);
}}

function vid2(){
Forum: JavaScript programming 01-16-2013, 12:39 PM
Replies: 10
Views: 418
Posted By tpeck
alert as a time delay

This is a bit odd. The sound will play and then go to the video (which is what I want) but only if I include the alert!


soundManager.play('scratch','../../media/mp3/scratch.mp3');
alert("why...
Forum: JavaScript programming 01-16-2013, 02:07 AM
Replies: 26
Views: 913
Posted By tpeck
Trying to implement these ideas and, you know,...

Trying to implement these ideas and, you know, nothing actually does the job!

I tried Old Pedant's Active-X method, and, using IE only, it doesn't find the drive.js file on a CD disk in the drive....
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT +1. The time now is 09:52 AM.