client-side

How can I run a program or batch file on the client side?

How can I run a batch file on the client side? An exe file? Just to open pre-installed program in client side? [Edit] Regarding ActiveX, I tried var activeXObj = new ActiveXObject("Shell.Application"); activeXObj.ShellExecute("C:\\WINDOWS\\NOTEPAD.EXE", "", "", "open", "1"); but this doesn't work. Any suggestions? ...

Ruby: client-side or server-side?

Is Ruby client- or server-side? ...

jQuery UI Dialog steals focus

Hi I have a jQuery UI dialog which hosts a number of buttons. I would like to have keyboard control (tab-navigation) on these buttons, so on the open event handler for the dialog, I set the first button to focused. I can visibly see this works, and also verify it using document.activeElement, but the focus is then stolen and something...

Detect if image is loaded on page.

My question is not like this one: Browser-independent way to detect when image has been loaded I have advertisements on my site for which I get paid per impression, now recently I have seen a dramatic drop in the number of impressions that each ad has been getting however I have been getting more average hits/month. Is it possible for ...

.NET or Java based small desktop app

Hi guys, I had posted a question a few days ago and thanks a lot to those who already responded. I am reposting the question because it seemed like I needed to clarify our requirements. So here it goes in more detail. I am trying to get a very small desktop app built - something that can be downloaded by people very quickly. I am tryin...

How can I call jquery function from javascript code?

I'm using RadAjaxPanel by telerik and it has ClientEvents-OnResponseEnd client-side event. So I've written JavaScript function: function OnResponseEnd(ajaxPanel, eventArgs) { // call jQuery here }; and my question is how to call jQuery function inside? I'd like to manipulate some html elements with .slide(..) function. ...

Looking for a web based, client side form editor

I'm looking for a javascript library (could be based on jQuery) that will implement a client side Form Editor. The perfect example is something like offered by http://wufoo.com/ You should play with their free version to get the feeling of what I'm trying to find. Also see this example someone made with jQuery. it is very basic, but a ...

Design strategies for class libraries that span Javascript and C#

I'm implementing some objects which will have about an equal amount of richness on both the client-side and server side. In this particular case, I'll be building a (hopefully) little class library to deal with search tokens. So as a pseudo-code example, I'll want to be able to do the equivalent of the following in both Javascript and ...

Which C# SOAP Client Library is easiest to use?

I would like to connect to a SOAP web service using C#. Before I jump right in, trying anything Google throws at me I would like to ask what is the cleanest and best way to do it where most of the work is done for me. I would like a high level method, where I give it a WSDL and it will basically handle a lot of things for me. I of cou...

Can client side python use threads?

I have never programed in Python before, so excuse my code. I have this script that will run in a terminal but I can't get it to run client side. I am running this in Appcelerator's Titanium application. Anyway, I have been troubleshooting it and it seems that it isn't running the threads at all. Is this a limitation? does anyone know? ...

Can I pass parameters to a client-side HTML page?

I'm not sure if I have the jargon for asking this question not being a web developer but please bear with me. I want to send parameters to a client side HTML page (just a file on a disk no web server involved). My initial attempt was to use a query string and then parse it from window.location.href but instead of the query string being ...

Does the WCF REST WebChannelFactory client support REST services that use redirects?

If you have a RESTful web service that uses HTTP 301 redirects to send requests like: http://server/customers/?name=John to the url http://server/customers/324 (as created by a service similar to the one in this question.) Can these types of services be consumed with the WebChannelFactory and a ServiceContract? If so, how? ...

Is there a way of writing PDF byte data to an IFrame clientside

Odd question I know but say one has PDF byte data contained within a hidden field on a page which also has an IFrame on it. Is there a way of writing the pdf data to the IFrame using JavaScript such that the IFrame will load in the adobe plug-in and display the data? The reason we'd like to do this is that we need the PDF data in the h...

DLL as `src` of `<script>`

I was browsing the source code of some website, and noticed a dll file being used as the src of a <script>. (view-source:http://www.yellowbridge.com/onlinelit/baijiaxing.php) It was something like: ` Several questions: I didn't know a <script> could be anything besides js. What else can it be used for? Can you point me in the direc...

OnFocus TextBox change Gridview Header Font??

Hey guys I have a gridview and below it 4 textboxes I'm using to enter data, for styling purposes I'd like to highlight the specific column headers as the user enters/leaves focus on each textbox.. I've been able to highlight the entire row color on focus using: <script language="javascript"> function headerRoll(id) { document.get...

client side xslt with javascript in firefox

I am using client-side xslt to transform xml files into xhtml. There have been some hurdles but I have managed to get passed all of them except this. The problem is that when I have a simple xml file like this <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="./jsInFf.xsl"?> <root>hello</root> and tr...

Is pure client-side dom manipulation possible using Rails' prototype helper?

I have a div that I want to show or hide depending on whether a hyperlink is clicked. This obviously doesn't require any server-side interaction. But is there a way to do this using Rails' prototype helpers? Or should I simply use JQuery or pure Javascript to do this type of client-side manipulation? ...

asp.net website - should string manipulation happen on server or client?

I have a design question. I have a website where users enter short messages and they are displayed to other users. Sometimes these messages have formatting in them so I need to manipulate strings. I can do this either on the server or on the client. My question is where should it occur? If it happens on the server then there's more of ...

How could I populate a hidden field when a link is clicked?

Hi SO: I am working on a FYI page that has large list of top-tiered links. Under these top-tier links, there are more links that usually go out to external websites. Currently, the way I handle populating the second-tier is as such: I query my database for all the top-tier links, then I construct an unordered list. Each list item has t...

How can Facebook's photo upload application access the local harddrive?

I didn't think it was possible for client side applications to access the harddrive? How can this application do it? Can a signed Java applet get access to your peripherals? I know that flash can... ...