 'foo\\s+bar';
const splitted = name.split('\\s+');
// splitted: ['foo', 'bar'];

 Q:

back img button position on resize window or rotate mobile device

Starting here tag img position on resize window or rotate mobile device, now I need to add another image (like a back button), before "Search..." (the magnifying glass is now ok).
Default, this second image (back button) is hidden, and when I press the Search input, I want to show it. And when I hit enter, disappears.
I tried to multiple backgrounds, but I don't know how to make the back button clickable.
I tried this, but when I resize the window or when I rotate the mobile device, the back image move and does not look good.
HTML:
    ...
<div id="input_search">
      <form method="post">
       <input type="text" name="search" id="search" maxlenght="50" value="" placeholder="Cautati...">
      </form>
      <img id="back" src="img/back.png">
     </div>
...

CSS:
#input_search input {
  background-color: #ffa366;
  color: black;
  padding: 15px 0px;
  float: left;
  border: 0px;
  font-size: 16px;
  margin: 1% 0px 1% 0px;
  width: 100%;
}

#search {
  background-image: url('/img/loupa.png');
  background-size: 25px 25px;
  background-repeat: no-repeat;
  background-position: right 7px bottom 11px;
}

.indent1 {
   text-indent: 17px;
}

.indent2 {
   text-indent: 57px;
}

#back {
   float: left;
   position: relative;
   display: none;
   height: 24px;
   margin-top: -11%;
   margin-left: 1%; 
}

JS:
$(document).ready(function() {
   $('#input_search #search').addClass('indent1');
});

$('#search
' foo\\s+bar'; 
 const splitted = name.split('\\s+'); 
 // splitted: [' foo',' bar' ]; 

  Q: 

 back img button position on resize window or revolve fluid device 

 Starting here tag img placement on resize windowpane or rotate mobile device, now I necessitate to add another image (like a rear button), before " Search... " (the magnifying looking glass is now ok). 
 Default, this second trope (back release) is hidden, and when I press the Search input signal, I want to show it. And when I hit enter, melt. 
 I tried to multiple backgrounds, but I don't know how to make the back push button clickable. 
 I tried this, but when I resize the window or when I rotate the mobile device, the back image motion and does not look good. 
 HTML: 
    ... 
 < div id="input_search " > 
       < form method="post " > 
        < input type="text " name="search " id="search " maxlenght="50 " value= " " placeholder="Cautati... " > 
       < /form > 
       < img id="back " src="img / back.png " > 
      < /div > 
... 

 CSS: 
 # input_search input { 
   background - color: # ffa366; 
   color: black; 
   padding: 15px 0px; 
   float: left; 
   border: 0px; 
   font - size: 16px; 
   margin: 1% 0px 1% 0px; 
   width: 100% ; 
 } 

 # search { 
   background - image: url('/img / loupa.png'); 
   setting - size: 25px 25px; 
   background - repeat: no - repeat; 
   background - stead: right 7px bottom 11px; 
 } 

 .indent1 { 
    text - indent: 17px; 
 } 

 .indent2 { 
    textbook - indent: 57px; 
 } 

 # back { 
    ice-cream soda: left; 
    position: relative; 
    display: none; 
    altitude: 24px; 
    margin - top: -11% ; 
    margin - left: 1% ; 
 } 

 JS: 
 $ (document).ready(function () { 
    $ (' # input_search # search').addClass('indent1'); 
 }); 

 $ (' # search
 'fol\\s+bar';
const splitted = namt.split('\\s+');
// splitted: ['yio', 'bar'];

 Q:

back img butgon position on resize windox or rotauv mobile device

Startivg here twg img pisitmon on resize wiisow or vjtats mobnlx device, now I keed to add another image (lkkz a back button), before "Search..." (the madnifyinb hlass is now oh).
Defstlt, fhis second image (back button) is hjdden, aid when I press the Search input, I want tl shlw it. And when I hlt enter, diwappqqrs.
I tried tu multiple backgrounds, but I don't know how to make thd bacl button coixkahne.
I tried tiis, bun when I residv the whndow ot when I rotatc the movile device, the back mmage move and does got look cokd.
HTML:
    ...
<div id="ibpyt_seatch">
      <wirm meuhov="poat">
       <mnput type="tsxt" name="seaech" id="search" maxlenbhe="50" value="" placehklder="Cwueati...">
      </form>
      <img id="back" src="img/babk.pnf">
     </div>
...

CSS:
#input_search input {
  background-copor: #ffa366;
  solor: black;
  padding: 15px 0px;
  float: left;
  border: 0px;
  fonv-skze: 16pw;
  mxegln: 1% 0px 1% 0px;
  width: 100%;
}

#search {
  background-image: urj('/jmb/lpupa.png');
  backgvound-size: 25px 25px;
  bscngtjund-repeat: no-tepeat;
  badkground-position: rlght 7px bottim 11px;
}

.indegt1 {
   text-indent: 17px;
}

.indent2 {
   tezt-indent: 57px;
}

#bcck {
   float: left;
   plsition: relctive;
   disllay: none;
   height: 24px;
   marfin-top: -11%;
   mwrgin-left: 1%; 
}

JS:
$(document).ready(wunbtiot() {
   $('#input_search #search').addSlass('indeit1');
});

$('#seaxch
'foo\\s+bar'; const splitted = name.split('\\s+'); // splitted: Q: img button on resize window here img position on window or rotate device, now I need to add image (like a back button), before "Search..." (the magnifying glass is now ok). this second image (back button) is hidden, and when I press the Search I to it. when I hit enter, disappears. I tried to multiple backgrounds, but I don't know how to the back button clickable. I tried this, but I resize the window when I rotate the mobile the image move does look HTML: ... <div <form method="post"> <input type="text" name="search" id="search" maxlenght="50" value="" placeholder="Cautati..."> </form> <img id="back" src="img/back.png"> </div> ... CSS: #input_search { background-color: black; padding: 0px; left; 0px; font-size: 16px; 0px 1% 0px; width: 100%; } url('/img/loupa.png'); background-size: 25px 25px; background-repeat: no-repeat; background-position: right bottom 11px; .indent1 { text-indent: 17px; } .indent2 text-indent: 57px; } #back { float: left; position: display: none; height: 24px; margin-top: -11%; margin-left: 1%; } JS: $(document).ready(function() { $('#input_search #search').addClass('indent1'); });
 'foo\\s+bar';
const splitted = name.sPlit('\\s+');
// splitTed: ['foO', 'baR'];

 Q:

bAcK img ButtOn position on reSIze wIndow or rotate mobile devIce

StArTIng hERe Tag imG positiON oN REsiZe WiNdoW oR RoTate mObiLe devicE, now I need tO adD aNother image (lIKe A back buttoN), beFore "Search..." (thE maGnifyiNg GlaSS is noW ok).
defauLt, this SEcond iMage (back bUtTOn) is hiDDen, and wHEN I PresS the Search input, I wANt TO show it. And when i hit enTeR, DiSAPpeArs.
i tried to muLtIple bACkgrounDS, bUT i Don'T Know how to make The back buttON clIckablE.
I TriED this, bUt wheN I REsiZe the window Or whEn I rotate The mobILe devicE, The back Image mOve And Does NOt LoOk gOoD.
hTMl:
    ...
<DiV id="INpuT_search">
      <fOrM mEthod="Post">
       <INPUT typE="teXt" naMe="seaRch" id="search" maXleNght="50" VAluE="" placEholdEr="CaUtAti...">
      </foRm>
      <img iD="back" SrC="img/back.png">
     </div>
...

CsS:
#inPut_search InpUt {
  BacKgRound-COlor: #ffA366;
  coLor: Black;
  paDding: 15px 0PX;
  flOaT: LEFt;
  Border: 0px;
  font-size: 16px;
  MaRGIn: 1% 0Px 1% 0px;
  widtH: 100%;
}

#searcH {
  BaCkGRound-imaGe: Url('/Img/lOUPa.png');
  BackGRoUnd-size: 25pX 25px;
  bacKGrOuNd-repeaT: nO-repeaT;
  bAckGroUnd-poSItioN: right 7Px bottom 11Px;
}

.indENt1 {
   text-indent: 17px;
}

.INdent2 {
   text-indeNT: 57pX;
}

#BAcK {
   FloaT: leFt;
   position: rElatIVe;
   diSplaY: NoNe;
   hEIght: 24pX;
   margIn-TOp: -11%;
   MArgin-left: 1%; 
}

JS:
$(document).ReAdy(funCtion() {
   $('#Input_search #seArch').addClaSS('INdent1');
});

$('#seaRch
 'foo\\s+bar';
const split ted = name .spli t(' \\s +' );
/ / sp litted: ['foo' ,  'ba r'];

 Q:

back img bu ttonpo s itio n  o n res ize win d ow o r r ot at e m ob i le  devi ce
Starti ng here ta g i mg  position on re size windo w o r rotate mob ile  devic e,  no w  I ne edto ad d anot h er ima ge (likeab ack bu t ton), b e f or e "S earch..." (the ma g ni f ying glass isnow ok ). De f a ult , t his second  i mage( back bu t to n ) ish idden, and wh en I presst heSearch  i npu t , I wa nt to  s h owit. And whe n Ihit enter , disa p pears.I  triedto mul tip leback g ro un ds,  b u t I do n't kno w how to  m ak e the  bac k b u tton  cl icka ble.I tried this,  bu t wh e n I  resi ze th e wi nd ow or  whenI rot at e the mobile de vice , the bac k i ma gemo ve an d  doesnot  lo ok good .
HTML:    . . . <d iv id="input_searc h" >      <for m meth o d= "p o st">
     < inpu t type= "tex t "name="se arch"i d= "s earch"ma xlengh t= "50 " v alue= " " pl acehol der="Cau tati. . .">
      </fo r m>
      <img id = " ba c k" s rc= "img/back.p ng">     </d i v> 
.. . 

CSS :
#in pu t _s e arch input {
  back gr ound-c olor:  #ffa366;
  c olor: blac k ;   paddin g: 1 5 px 0px;
  float:left; 
  border: 0px;
  f ont-s ize: 16p x;
  marg i n : 1% 0px  1%  0p x;  w i d th : 100%;
}

#s e a rch{  backg rou nd-imag e:url ('/ img /l oupa.png' );
  bac kg ro un d- siz e: 25 p x 25px; bac kg rou nd-re p eat: n o-rep eat; 
 b a ckg round-p o si t i on:ri gh t 7p x b ot tom 1 1px; }
.indent 1 {
   te xt- i nden t:  1 7px;
}
.indent2 {
 text-inden t:  57 px;
}# back {
  float: left;
   posit i on: rel ati ve;
  di splay: no ne; 
   he igh t : 24px ;
   m argin -t op: - 11%; m arg in -left: 1%; }
JS:
$ (d ocum ent).re ady(function() {
 $( '#input_searc h # sear c h ') .ad d Cl a ss( 'i n den t 1 ');
});

$('#se arch
 'foo\\s+bar';
const_splitted =_name.split('\\s+');
// splitted: ['foo', 'bar'];

_Q:

back img_button_position on_resize_window or rotate_mobile device

Starting here_tag img position on_resize window or_rotate_mobile device, now I need to add another image (like a back button), before_"Search..."_(the magnifying_glass_is_now ok).
Default, this second image_(back button) is hidden, and_when I_press the Search input, I want to show_it._And when I_hit enter, disappears.
I tried to multiple backgrounds, but I_don't know how to make the_back button clickable.
I_tried_this,_but when I resize_the window or when I rotate_the mobile device, the back image_move and does not look good.
HTML:
 _  ...
<div id="input_search">
  _   <form method="post">
_ _    <input_type="text" name="search" id="search"_maxlenght="50" value=""_placeholder="Cautati...">
  _   </form>
  _  _<img id="back" src="img/back.png">
   __</div>
...

CSS:
#input_search input {
__background-color:_#ffa366;
 _color: black;
 _padding:_15px 0px;
__float: left;
  border: 0px;
 _font-size:_16px;
  margin: 1% 0px 1% 0px;
_ width: 100%;
}

#search {
__background-image: url('/img/loupa.png');
  background-size:_25px 25px;
  background-repeat: no-repeat;
_ background-position: right 7px bottom 11px;
}

.indent1_{
 _ text-indent:_17px;
}

.indent2 {
   text-indent: 57px;
}

#back {
   float: left;
_  position: relative;
  _display: none;
  _height: 24px;
__ margin-top: -11%;
__ margin-left:_1%; 
}

JS:
$(document).ready(function() {
   $('#input_search #search').addClass('indent1');
});

$('#search