Question: I am using jQuery mobile 1.4.2. I need to shift the search icon from left to right and how can I avoid the clear button appearing.

```
<div data-role=page">
    <form method="post">
        <input name="search" id="search" value="" placeholder="Buscar" type="search" onfocus="this.placeholder = ''" onblur="this.placeholder = 'Buscar'">
    </form>
</div>

```

Answer: 
The constructor is `new Rect(left,top,width,height)`

Any fewer arguments will result in those many fields not being set. eg. `new Rect(1,2,3)` will return a Rect object with no height

Screenshot here : <http://puu.sh/81KSa/e225064bec.png>
The `Rect` in your jsfiddle is **NOT** the Mozilla `Rect` object.
[What is Rect function in Chrome/Firefox for?](https://stackoverflow.com/questions/18814683/what-is-rect-function-for-in-javascript)

The Mozilla `Rect` is provided by <https://developer.mozilla.org/en-US/docs/Mozilla/JavaScript_code_modules/Geometry.jsm>

You can only use it in a Firefox extension after `Components.utils.import("resource://gre/modules/Geometry.jsm", your_scope_obj);`

I don't think you can test it in jsfiddle env.