client-side-scripting

Apple Cover-flow effect using jQuery or other library?

Does anyone know how to achieve the cover-flow effect using JS to scroll through a bunch of images. I'm not talking about the 3d rotating itunes cover-art, but the effect that happens when you hit the space bar in a folder of documents, allowing you to preview them in a lightbox fashion. ...

how to truncate HTML encoded text without truncating encoded characters using javascript

I need to write some client-side javascript for a webpage that will truncate the text inside a div, when the onclick event for a button is fired (the purpose of the button is so that users can toggle the displayed text between complete and truncated versions). There won't be any HTML tags in the text, but there may be HTML encoded charac...

TreeView control - Is it possible to collapse w/o a postback?

Everything i found online so far is very confusing about TreeView. I know it has a built-in callback, that developer can populate nodes from server on demand, etc etc. I understand the populate node on demand - nodes populated from the server on demand (expand) works with the callback - and doesn't refresh the whole page - but it still ...

Are transactions possible with HTML5 Storage in Safari

Instead of doing an each loop on a JSON file containing a list of SQL statments and passing them one at a time, is it possible with Safari client side storage to simply wrap the data in "BEGIN TRANSACTION" / "COMMIT TRANSACTION" and pass that to the database system in a single call? Looping 1,000+ statements takes too much time. Current...

javascript conflict on accesing DOM

i read this statement from a book i read The Document Object Model or DOM is really not a part of JavaScript but a separate entity existing outside it. Although you can use JavaScript to manipulate DOM objects, other scripting languages may equally well access them too. what is the best way to avoid conflict between javascript and o...

Metaprogramming on web server

From time to time, I find myself writing server code that produces JavaScript code as the output result. I can point out why it is really bad: Inextricable tie between server code and client code. Can render client code un-reusable. But sometimes, it just seems to make sense. And isn't it kinda sorta interesting? I guess the quest...

I'm looking for a client-side web server that can run inside the browser. Any suggestions?

Ideally I'm looking for something that is browser agnostic. ...

Requesting a website by client side script = Cross Side Scripting Hack. But requesting a website by server side script is not a hack! Why?

Generally, when we want to show the contents of some web page in the same page, we go for ajax requests. If say, I request to a web page in different domain with AJAX, it is not allowed because of the Cross side scripting error. But why is it allowed to access via a server side page. For e.g. we can use CURL in php to access any site.? W...

Can Javascript be replaced with another language?

Possible Duplicate: Alternatives to JavaScript Hi there, As there are many programming languages, and you have options, that which ever language you want to work on, like you if you use C# then you have option that you can use VB.NET or C++ etc further you we have Java which can replace C# or C# that can replace Java. So we h...