jQueryPad

NB: Download link finally fixed

jQueryPad is a fast JavaScript and HTML editor. Just start it, enter the HTML you want to work with, bash in your jQuery code, and hit F5 to see the results. Say goodbye to ALT+TAB.

Download

jQueryPad screenshot

jQueryPad is xcopy deployable. It's written in WPF and uses the Web Browser Control to embed Internet Explorer for testing the script. When you press F5, the HTML and JavaScript are combined into one file and rendered. The template also references jQuery, so the jQuery functions are available.

If you want to use a different version of jQuery or reference other files, just replace the files in the Templates directory.

Hope you find it useful - feature suggestions are welcome.

A picture of me

Welcome, my name is Paul Stovell. I live in Brisbane and work on Octopus Deploy, an automated deployment tool for .NET applications.

Prior to founding Octopus Deploy, I worked for an investment bank in London building WPF applications, and before that I worked for Readify, an Australian .NET consulting firm. I also worked on a number of open source projects and was an active user group presenter. I was a Microsoft MVP for WPF from 2006 to 2013.

Michael J. Heier
Michael J. Heier
08 Oct 2009

We are running jQueryPad on Windows XP SP3. The application fails to open, after throwing a System.IO.FileFormatException.

Error Signature:

EventType : clr20r3 P1 : jquerypad.exe P2 : 1.0.0.0 P3 : 4ace02bc P4 : presentationcore P5 : 3.0.0.0 P6 : 488f140b P7 : 4e2b
P8 : 6 P9 : system.io.fileformatexception

08 Oct 2009

Hi Michael,

I suspect you might not have .NET Framework 3.5 Service Pack 1 installed - can you verify this?

Paul

08 Oct 2009

Hi Paul,

Getting an exception on startup. Here's the details:

System.IO.FileFormatException was unhandled
  Message="The image format is unrecognized."
  Source="PresentationCore"
  StackTrace:
       at System.Windows.Media.PixelFormat.GetPixelFormat(SafeMILHandle bitmapSource)
       at System.Windows.Media.Imaging.BitmapSource.UpdateCachedSettings()
       at System.Windows.Media.Imaging.BitmapSource.set_WicSourceHandle(BitmapSourceSafeMILHandle value)
       at System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
       at System.Windows.Media.Imaging.BitmapSource.CompleteDelayedCreation()
       at System.Windows.Media.Imaging.BitmapSource.get_PixelWidth()
       at MS.Internal.AppModel.IconHelper.GetBestMatch(ReadOnlyCollection`1 frames, Int32 sysBitDepth, Int32 width, Int32 height)
       at MS.Internal.AppModel.IconHelper.GetIconHandlesFromBitmapFrame(Object callingObj, BitmapFrame bf, IconHandle& largeIconHandle, IconHandle& smallIconHandle)
       at System.Windows.Window.UpdateIcon()
       at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
       at System.Windows.Window.CreateSourceWindowImpl()
       at System.Windows.Window.SafeCreateWindow()
       at System.Windows.Window.ShowHelper(Object booleanBox)
       at System.Windows.Window.Show()
       at jQueryPad.App.OnStartup(StartupEventArgs e) in e:\Tools\TeamCity\buildAgent\work\26037d54ced9b73b\jQueryPad\App.xaml.cs:line 41
       at System.Windows.Application.<.ctor>b__0(Object unused)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.Run()
       at System.Windows.Application.RunDispatcher(Object ignore)
       at System.Windows.Application.RunInternal(Window window)
       at System.Windows.Application.Run(Window window)
       at System.Windows.Application.Run()
       at jQueryPad.App.Main() in e:\Tools\TeamCity\buildAgent\work\26037d54ced9b73b\jQueryPad\obj\Debug\App.g.cs:line 0
  InnerException: System.Runtime.InteropServices.COMException
       Message="Exception from HRESULT: 0x88982F07"
       ErrorCode=-2003292409
       InnerException: 

I'm running Vista, with .NET 3.5 SP 1 installed. I also have VS 2010 beta installed with the .NET 4 beta (if that has anything to do with it).

08 Oct 2009

I believe the bug may have been to do with this connect issue. I've changed the icon to an XP compatible one - can you try it out?

Dan
Dan
09 Oct 2009

Hi,

You have to delete the folders created when running the scrips.. I see that when ever I hit F5, a new one is created here: file:///C:/Users/daniel/AppData/Local/jQueryPad/

Or at least, use the same folder per session..

Other than that, the tool is quite nice and handy.

Mike G
Mike G
09 Oct 2009

Looks promising however is there anything like this for Mac OSx Snow Leopard?

Vladimir
Vladimir
09 Oct 2009

Awesome! Thanks!

Alex
Alex
09 Oct 2009

Under win XP path to temporary file is c:\documents and settings.... When pressing button to open in some browser I've got a dosen of tabs opened. First URL is c:\documents, second is and, third is settings... and so on for any space in path

Light
Light
09 Oct 2009

True!

Alex
Alex
10 Oct 2009

It works like a charm on XP SP2!

Thanks for so useful tool!

Hope in the future it will be avalaible also for MAC...

10 Oct 2009

Hi Alex, the bug with spaces in the URL is fixed - please try downloading it again.

Tony Cavaliere
Tony Cavaliere
10 Oct 2009

Looks look a great tool!

I'm running window 7 and have run jQueryPad in XP compatibility mode (SP2 and SP3) and also natively in W7. The app hangs while I'm editing in the HTML window. I can get to have everytime

  1. place cursor at the end of the line with </div>
  2. start deleteing characters one a time

The program will hang (not respond).

10 Oct 2009

Hi Tony, thanks for reporting that bug. It is due to the text editor component I'm using - if the language is HTML it caused it to crash. I've changed it to XML and re-released (just download it again) - this seems to fix the problem.

Shai
Shai
10 Oct 2009

Look very nice , can you have Silverlight version ?

happy developer
happy developer
12 Oct 2009

That is awesome! The only thing, that can make this tool even more cool is intellisense... :-)

Dee
Dee
14 Oct 2009

Thanks Paul for this excellent tool. We were introduced to it at one of the sessions at Microsoft Tech Ed New Zealand, and I'm glad I've managed to find it. My team here uses it extensively now to allow them to play with jquery.

Regards Dee ps. I second the request for intellisense ;-)

Seba
Seba
15 Oct 2009

Gr8 tool, Thanks

20 Oct 2009

Great tool man it Rocks.........

Majid
Majid
03 Nov 2009

Hi Paul. Had no luck with it :(

This is what I get:

alt text

Kev
Kev
10 Nov 2009

When I launch jQueryPad on Windows 7 Ultimate I can't seem to edit text in either of the text boxes. I'm guessing that when I open jQueryPad it should have the same HTML and script as the screenshot above?

When I open jQueryPad I get the following and when I place the editor carat in either of the textboxes my edits disappear. Here's a screenshot of jQueryPad when it starts:

jQueryPad

22 Nov 2009

Hi Paul Got JqueryPad installed and can't wait to get going with it. Came across your web site by pure coincidence. I didn't realize there was such software out there. Anyway, when I try to open jquerypad I get a friendly but not so helpful message saying: "JqueryPad has stopped working". "Check online for a solution and close the program" and "Close the program" I am still a web design student so "checking online" is not an option because I know from experience that I will just get bogged down in post # 1004582987@#$ in one of only 3 or 4 million MSDN forums available and I will be totally lost. So I need help from from an expert like you. Btw, here is a list of error messages I also get every time I try to open jquerypad:

Description: Stopped working

Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: jquerypad.exe Problem Signature 02: 1.0.0.0 Problem Signature 03: 4ae29b4d Problem Signature 04: NVelocity Problem Signature 05: 1.0.3.0 Problem Signature 06: 48bcfc3a Problem Signature 07: 490 Problem Signature 08: dc Problem Signature 09: UP3WDY43ZSBUPMBYYASEKVAYOYOWUCDE OS Version: 6.0.6002.2.2.0.768.3 Locale ID: 1033

Read our privacy statement: http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409

I am not sure what they all mean or what I should do about it. I run Vista Home Edition and have .NET Framework 3.5 SP1 installed. Paul, your help would be appreciated because I think your software fills a vital gap in a web designer's tool box. Thank you in advance. Jurgen

Ryan
Ryan
16 Dec 2009

Hey - your download link is returning a 404..

26 Mar 2010

Landed through a tweet, this looks great. Thanks for sharing!

Adam Roderick
Adam Roderick
26 Mar 2010

Great work, Paul

Tony
Tony
26 Mar 2010

FYI..

Scott Hanselman tweeted about this. Probably why site is so slow?

Scott Hanselman - Wow, it's jQueryPad! I'll use this every day: http://www.paulstovell.com/jquerypad 3/26/2010 3:04:10 PM

26 Mar 2010

Landed on the page through a tweet, great stuff. Thanks for sharing!

VF
VF
26 Mar 2010

Seeing the same issue "Kev" mentioned, above. Was really excited by this idea, so if anyone has a solution, I'd greatly appreciate it!

26 Mar 2010

Very nice - seems very lightweight, quick on my netbook - and makes doing quick tests very simple. Do you intend on expanding the functionality?

Some nice features might be:

  • Have template tags that can output jQuery and Javascript codeblocks, such as

    (template:jquery version="1.4)

    (template:googleanalytics userid="USERID")

  • Save out HTML and JavaScript to these templates
  • Export out project as website, copying all files out

I think if you keep it as simple as it is, and add features like this, jQueryPad could become a very powerful little editor

Gabriel
Gabriel
26 Mar 2010

Autocomplete for jquery, please

28 Mar 2010

Intellisense please! :)

DEEJAY
DEEJAY
29 Mar 2010

а по Русски ? Есть Русский язык ??

29 Mar 2010

A very useful tool

29 Mar 2010

Hi, Thanks for this lovely tool. Downloaded it and ran it. Works like a charm. Going to play with it some more...

regards, Ratish

31 Mar 2010

cool, very cool tool

10 Apr 2010

That's grate,It seams like LINQPAD ! Best regards


23 Apr 2010
15 May 2010

Great tool, I use it with Windows 7 Ultimate. Thanks for sharing!

Sooriya
Sooriya
17 Jun 2010

Hi Paul,

When i try to run it , it thrown the following

"jQueryPas has encountered a problem and need to close."

i am using xp pro sp3.

Dev Net
Dev Net
18 Jun 2010

I was looking for something like LinqPad for other html snippets and after my unfruitful search, I was about to implement a basic functionality like this for myself when I found this. Thanks a lot for giving another one of those must have utilities in my toolbox.

u
u
30 Jun 2010

无法自定义CSS,希望加一个能编辑CSS的框

leqi
leqi
21 Jul 2010

The application may exit while you input <>

Arie
Arie
13 Aug 2010

Hi Paul,

I'd like to work with this tool, but download does not seem to work.

thanks

Arie
Arie
16 Aug 2010

Thanks, link seems to be working again.

It would be great to have a multiplatform version using Silverlight 4 (out of browser) using its new RichTextBox and Browser controls.

17 Aug 2010

What a great idea. I've been wishing for something like this to stick on my eeePC.

Now I've got LinqPad, jQueryPad, IIS Express, SQLite. Happy days.

Nice work!

larry
larry
21 Aug 2010

Getting this error:

Locating source for 'e:\BuildAgent\work\26037d54ced9b73b\jQueryPad\App.xaml.cs'. Checksum: MD5 {4b f6 a7 46 14 8c 3c 88 93 83 29 bd a0 a3 a5 6b} The file 'e:\BuildAgent\work\26037d54ced9b73b\jQueryPad\App.xaml.cs' does not exist. Looking in script documents for 'e:\BuildAgent\work\26037d54ced9b73b\jQueryPad\App.xaml.cs'... Looking in the projects for 'e:\BuildAgent\work\26037d54ced9b73b\jQueryPad\App.xaml.cs'. The file was not found in a project. Looking in directory 'E:\Program Files\Microsoft Visual Studio 10.0\VC\crt\src\'... Looking in directory 'E:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\src\mfc\'... Looking in directory 'E:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\src\atl\'... Looking in directory 'E:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\include\'... The debugger could not locate the source file 'e:\BuildAgent\work\26037d54ced9b73b\jQueryPad\App.xaml.cs'.

larry
larry
21 Aug 2010

I've got .NET Frameworks 2.0, 3.5 SP1, 4.0.

Everytime i try to open the .exe it gives the

'JQueryPad has encountered a problem and needs to close...' Please tell Microsoft.... etc..'

I have the files on my root drive [E:].

Don't know what the issue is ?

AJ
AJ
01 Sep 2010

Hi Paul,

Awesome tool :)

Are you also planning to release the source code?

-AJ

05 Sep 2010

Электростанции всегда в наличии - дизельные электростанции. Аренда дизельных электростанций.

23 Sep 2010

very nice tool!! thank you!!!

Lorenzo
Lorenzo
24 Sep 2010

error 404 trying download jQueryPad.zip

26 Sep 2010

error 404 trying download jQueryPad.zip

10 Oct 2010

404 error on the download file

RP
RP
15 Oct 2010

HI!

where's the download file ??

I've got 404 - File or directory not found clicking on "download" link on top of page...

Thanks!

Phil
Phil
20 Oct 2010

Please fix the download link!! Is there any reason why this shouldn't still be available?!

28 Oct 2010

Hey, something is wrong with your site in Opera, you should check into it.

29 Oct 2010

http://planab.t35.com/7/165.php - brazil underwear man http://planab.t35.com/8/ - pecci http://planab.t35.com/26/465.php - moving comfort bikini underwear http://planab.t35.com/26/255.php - pussy lips through underwear http://planab.t35.com/21/454.php - teri mens comfortable underwear

29 Oct 2010

http://ovloa.t35.com/2/2.php - colt underwear http://ovloa.t35.com/19/469.php - petitt protective adult underwear http://ovloa.t35.com/20/99.php - teenagers using diapers as underwear http://ovloa.t35.com/22/145.php - ladyboy in underwear http://ovloa.t35.com/9/291.php - wacoal underwear

30 Oct 2010

http://opin.t35.com/15/178.php - mens underwear fan site pictures http://opin.t35.com/8/8.php - justus boyz underwear http://opin.t35.com/13/89.php - jcrew underwear http://opin.t35.com/3/260.php - male models underwear catwalk http://opin.t35.com/1/270.php - mens y back underwear

31 Oct 2010

http://ndeprac.t35.com/3/196.php - sealed underwear http://ndeprac.t35.com/3/156.php - calvin klein child underwear http://ndeprac.t35.com/11/140.php - linsey not underwear http://ndeprac.t35.com/2/249.php - lift underwear http://ndeprac.t35.com/4/216.php - goodnites underwear

31 Oct 2010

http://mepu.t35.com/16/58.php - hot virgin in underwear http://mepu.t35.com/18/93.php - masturbating with underwear http://mepu.t35.com/11/144.php - hot teen underwear http://mepu.t35.com/14/ - roberto cavalli http://mepu.t35.com/22/332.php - henati underwear

Sergio
Sergio
03 Nov 2010

404 error when trying to download, please fix it!

WAGeorge
WAGeorge
04 Jan 2011

I have always wanted to learn spanish. Does rosetta stone really help people learn new languages and cultures of different countries? I never got to take a foreign language in high school. How much does Rosetta Stone language cost if it helps with learning a new language?

deco
deco
06 Jan 2011

WTF download link dosent work.

20 Feb 2011

It took a while for me to get around to finding the backup that contained this, but the download link is now fixed.

24 Feb 2011

Horaaay!!

Thanks for correcting the link

25 Feb 2011

Two Words: (1) OUTSTANDING! (2) Intellisense. :)

25 Feb 2011

Sorry... One more thing... More elegant handling of JS errors would definitely be nice. :)

27 Feb 2011

My tool of choice for this type of stuff is http://jsfiddle.net/NJa4U/

pyruva
pyruva
01 Mar 2011

hi paul, from what i've seen it's a great tool, but did you absolutely have to develope it using .NET? cos i'm running wine [windows emulator] on my ubuntu 10.10 and i find an open source replacement for absolutely every app i come across that requires .NET, unfortunately, your jquery editor is the only one i've found thus far. . .and i really don't want to install the .NET framework on my machine for the sake of making the use of ONE language easier. . . . isn't there a way you could translate your app into java or some .NET independent platform pleeeeeeeeeeeeeeeeease. . . i mean, most of us programmers are open source freaks anyways right?

thanks in advance, Pythonian