BlameThePixel!

BTForum » Main BTP Stuff » BlameTheGeneralDiscussion » Coding Requested

[S]CBWhiz
Looking For Status
Send PM
Posts: 1044
Threads: 130
Money: £1343.20 (D)
(+ Friend)
Not online within the last half an hour
I'd like someone to help me out by providing these functions in Javascript:

\n
<?PHP\n<br />
//Stylistic rules:
//Where a semi-colan is optional, it is required
//Neat indenting is required

function DuplicateFields(sourceid as objectidnewid as string) {
//Uses CloneNode on a DIV to duplicate nested formfields.
//The form feilds have names like sort[1], sort[2]
//The names of the new form feilds should be duplicated, with the id number increading (ie newid is sort[3])
//QuickRef:<br />
//http://www.mozilla.org/docs/dom/domref/dom_el_ref.html
//Rules: Must use cloneNode() and appendChild()
//IE compatability not required, though desired (target is Firefox)<br />
}


RemoveField(sourceid as objectid) {
//This is easier - delete a node from the dom tree
}
//Fun fact: somebody broke the [code] tags, so i'm using [php]
\n?>
\n
Whoever fufills it can get an incredably useful multible-layer sort class, which completely handles the SQL 'ORDER BY' feild for you. All you need is to do 'AddSortPossibility('prettyname','sqlcolumn'). Alternitively, I'll give you some other PHP i wrote, or maybe fix something on BTP thats bugging you.

Thanks in advance.

(to get an idea of what i'm trying to do, compose an email in gmail. click add attachment. click it again. notice dynamic adding of form feilds.)
01.05.05 01:54
Post #1
Last edited: 01.05.05 01:55 (CBWhiz - 2 times) [Hide Sig (3)] [Profile] [Quote]
[S]ReadMe
Absent
Send PM
Posts: 2820
Threads: 85
Money: £43.42 (D)
(+ Friend)
Not online within the last half an hour
give me the form source and 20 mins or so.

________________
Cant be arsed to remake my sig.
01.05.05 15:30
Post #2
[Hide Sig (7)] [Profile] [Quote]

Post Reply

Jump To:


Your Comments:

Donate to BlameThePixel:
Donate to BTP Via PayPal


[22 Queries, Page Loaded in 1.351302 Seconds]

ShoutMeUp

Xmas Greetings from waka waka waka waka []Unvalidated EmailChristmasRiddle MERRY CHRISTMAS EVERYONE! []Spleet Except for Spleet. []TheAbdBoy Always bummin' a brother out. []Spleet Happy New Year everyone! But Spleet. []TheAbdBoy

Word Association

All

-10 Ago-

MiddleEastern []AlphaWolf camel [S]Bloopy toe []TheAbdBoy moose knuckle [S]Bloopy MeatLoaf []Spleet IdDoAnything4Lo ve []AlphaWolf rub n tug []TheAbdBoy tugboat []The Pope rope [S]Bloopy race []TheAbdBoy

-Latest-


Must be logged in to add new words

FictoLeague

You have to be logged in to vote...

Member Stats

Date: 23.11.24.
Members: 4731.
Latest: []Unvalidated Emailsdsakldsaldklasdsdsa
Active:
0 user(s)
1 guest(s)

On chat:
Lots of people

Files: 3330

Bloopy's Site
Get Firefox Get Opera Donate to BTP Via PayPal