I've tried using replaceAll and replaceWith and they don't seem to work

for example, string 

`"~/Foo.aspx?fn=/image.jpg&p=True"`

I want to do is replace `p=True` with `p=False`

```
var previewSource = "~/Foo.aspx?fn/image.jpg&p=True"
var loadedSource = $(previewSource).replaceAll("p=True").replaceWith("p=False");// This is one of the things I have tried.

```