Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
1 Commented Post
0 Endorsements
Ranked #3K
~5K People Reached
About Me

Musician, Geek, Manager. In that order.

Interests
Web Development Music creation
PC Specs
MacBook Pro 15" Lenovo ThinkPad T61
Favorite Forums

14 Posted Topics

Member Avatar for samarudge

Hi, since you are writting an AIR application you can specify the minimum and maximum width and height of your application in the application.xml file located in your root project folder. Look for the <minSize> and the <maxSize> tags and change it for your own sizes. HTH .::AleX::.

Member Avatar for fxm
0
245
Member Avatar for tech.b

Search for javascript push() method in the Array object. A good reference is here: [url]http://www.w3schools.com/jsref/jsref_obj_array.asp[/url] HTH

Member Avatar for samaru
0
167
Member Avatar for rahul8590

Hi, IMHO, JSON is great, it has the same good benefits of structuring data as in XML but with the advantage that you can directoly interact in the front end using JS (that's what the two first letters of JSON means :-) ). I use it everyday to store information …

Member Avatar for samaru
0
193
Member Avatar for fawad123

Hi, save yourself time and code lines using a library. top developers has done the hard work sniffing browsers and such. I can recomen jQuery, so your can use an ajax request that is crossbrowser with a single line of code: [code] $.ajax(url, data, callback) [/code] HTH

Member Avatar for fawad123
0
366
Member Avatar for Stephen901

1.- sessions are handled by a server (normally) after credential validation against a directory server (LDAP, AD, Domino, etc). What you can do is preserve that state by invoking a valid autenticated page using a periodic polling with javascript. Take a look at setTimeout JS funciton. You can use a …

Member Avatar for Stephen901
0
87
Member Avatar for dks1383

try using jQuery, like this at the end of your document just before closign body [CODE] <script type="text/javascript"> $(document).ready(function(){ $("head").append("<script src='stat.php?loc=" + window.location + "'><//script>") }) </script> [/CODE] For sure there's some better way to perform this but give it a try and see if it works. HTH .::AleX::.

Member Avatar for alexhernandez
0
71
Member Avatar for Bubbleboy

Hi, to do that you need Conditional COmments: [CODE] <html> <head> <title>Conditional comments on IE</title> <style> p{ font-family:verdana, arial; font-size:16px; margin:20px auto; background:#666; color:#ccc; padding:10px; } </style> </head> <body> <p>This text is available for any browser</p> <!--[if IE]> <p>This text is available ONLY in Internet Explorer </p> <![endif]--> <!--[if IE …

Member Avatar for alexhernandez
0
150
Member Avatar for UberJoker

[QUOTE=UberJoker;1154128]Hey Guys. I cant actually think of a way to do this. Let me rephrase my question. I essentially want a perl script to run based on something that i am doing in javascript. for example: <javascript> if(x == 1) { then run the perl script. } </javascript> i dont …

Member Avatar for Airshow
0
3K
Member Avatar for sassenach

[QUOTE=sassenach;1154320]nope. still empty.[/QUOTE] Hi, before sending your form you need to explicitly set the value of your form field with the rich text editor. like: document.forms["formname"].fieldName. value = $(RTObject).value //it depends on what editor you are using. after that you can submit the form. HTH

Member Avatar for alexhernandez
0
163
Member Avatar for MarrkoR

Hi, the $(document).ready() is executed when the DOM is ready to be used when loading a page. This is not valid when loading a page using AJAX. So, the solution is using a callback after loading the first div: $("#sec").load (url, callback); your new code should look like this: index.php …

Member Avatar for hengzhe
0
99
Member Avatar for morecrab

[QUOTE=morecrab;926885]Hi, i just want to know how to check the button i push. So, i.e. if i push Prev Button, it will show "You push Prev button" and if i push Next Button, it will show "You push Next button" ps : Any related reply will be appreciated[/QUOTE] Hi, I …

Member Avatar for alexhernandez
0
78
Member Avatar for ablitz

Hi, the first A in Ajax is for asynchronous, BUT, you can set the call to behave Synchronous, so your alert will wait until the request is finished. Just add the following to your request options: asynchronous: false, so your new code will look like: [QUOTE=ablitz;914304] [code=JavaScript] new Ajax.Request("categories-inset.php", { …

Member Avatar for ablitz
0
296
Member Avatar for ban143

Let's say you have: [CODE] <form> <table id="myTable"> <tr> <th>Name</th> <th colspan="2">Phone</th> </tr> <tr> <td><input type="text" name="newname" /></td> <td><input type="text" name="newphone" /></td> <td><input type="button" onclick="addContact()" value="Add"/></td> </tr> </table> </form> [/CODE] You can create a function like: [CODE] <script type="text/javascript" languaje="javascript"> function addContact(){ var myTable = document.getElementById("myTable"); var newTR = document.createElement("tr"); …

Member Avatar for gaurish.patil
0
84
Member Avatar for alexhernandez

Hi all, I'm just wondering..... Is there any way to know what variables are associated to a given kind of data type or class (when using prototype for example)? Let me explain. if I have: // Javascript: var myVar = new Array(); var myObj = new CustomPrototypeClass(); So, in some …

0
69

The End.