A couple of Prototype Ports for ActionScript





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

8
Date Submitted Thu. Aug. 10th, 2006 2:41 AM
Revision 1
Syntax Master sundaramkumar
Tags JavaScript
Comments 1 comments
simple find and replace string
9
Date Submitted Wed. Aug. 16th, 2006 9:33 PM
Revision 1
Syntax Master sundaramkumar
Tags JavaScript
Comments 0 comments
Find min and max of an array
10
Date Submitted Fri. Aug. 18th, 2006 1:13 AM
Revision 1
Syntax Master sundaramkumar
Tags JavaScript
Comments 0 comments
This will convert the time from number of seconds to HH:MM format
-10
Date Submitted Fri. Aug. 18th, 2006 1:16 AM
Revision 1
Syntax Master sundaramkumar
Tags JavaScript
Comments 2 comments
This function will add all the elements in an array and return total(sum)
15
Date Submitted Fri. Aug. 18th, 2006 6:48 AM
Revision 1
Syntax Master sundaramkumar
Tags CSS | JavaScript
Comments 3 comments
Get computed Height of an HTML Element
22
Date Submitted Fri. Aug. 18th, 2006 6:50 AM
Revision 1
Syntax Master sundaramkumar
Tags CSS | JavaScript
Comments 1 comments
Get computed Width of an HTML Element
11
Date Submitted Mon. Aug. 21st, 2006 9:44 PM
Revision 1
Syntax Master sundaramkumar
Tags JavaScript
Comments 3 comments
check if your browser/javascript supports Ajax.
For this we can use prototype's getTransport method.
10
Date Submitted Fri. Aug. 25th, 2006 7:30 PM
Revision 1
Helper psykoprogrammer
Tags inheritance | JavaScript
Comments 0 comments
A small example demonstrating inheritance in Javascript, complete with calling base class constructors and methods. For the more detailed description, visit http://www.adampresley.com.
16
Date Submitted Sat. Aug. 26th, 2006 11:20 PM
Revision 1
Helper psykoprogrammer
Tags ajax | JavaScript
Comments 1 comments
A simple AJAX class. The code for the class is provided as well as example HTML and PHP code for usage.
5
Date Submitted Tue. Sep. 5th, 2006 8:27 PM
Revision 1
Beginner MovingParts
Tags Bind | Control | controls | datasource | same | two
Comments 0 comments
so you executed a query that took .5 second to execute and you want to bind that to a windows control. next you decide that you will need to have two controls bound to the same datasource. not a problem, except when you do this:
control1.datasource = datatable
control2.datasource = datatable

you notice that each control mirrors the other and you cannot pick two seperate and distinct values.

one way to solve this is to create two datatables and execute the query twice. unfortunately this now doubles your query time. bad idea.

here is the elegant solution...