javascript replace string :
if you want to replace only first occurance of item then use :
item.replace("item you want to replace ", "item you want to replace with");
or if you want to change all then :
item.replace(new RegExp("item you want to replace", "g"), 'item you want to replace with');
.net asap
Friday, May 8, 2015
Monday, April 7, 2014
Q) table inside table html ?
A) <table border="1" width="100%">
<tr>
<td>ABC</td>
<td>ABC</td>
<td colspan="2">ABC</td>
<td>ABC</td>
</tr>
<tr>
<td rowspan="3">ITEM</td>
<td rowspan="3">ITEM</td>
<td>name</td>
<td>price</td>
<td rowspan="3">ITEM</td>
</tr>
<tr>
<td>name</td>
<td>price</td>
</tr>
<tr>
<td>name</td>
<td>price</td>
</tr>
<tr>
<td>-</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td>-</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td>-</td>
</tr>
</table>
CHECK THI FIDDEL:
http://jsfiddle.net/zWMUU/1/
A) <table border="1" width="100%">
<tr>
<td>ABC</td>
<td>ABC</td>
<td colspan="2">ABC</td>
<td>ABC</td>
</tr>
<tr>
<td rowspan="3">ITEM</td>
<td rowspan="3">ITEM</td>
<td>name</td>
<td>price</td>
<td rowspan="3">ITEM</td>
</tr>
<tr>
<td>name</td>
<td>price</td>
</tr>
<tr>
<td>name</td>
<td>price</td>
</tr>
<tr>
<td>-</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td>-</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td>-</td>
</tr>
</table>
CHECK THI FIDDEL:
http://jsfiddle.net/zWMUU/1/
Sunday, March 9, 2014
TryUpdateModelto Dosent Store values to database ?
Answer: After TryUpdateModel(model))
perform savechanges to the database here db is
yourdatabaseaccessfile db = new yourdatabaseaccessfile ();
db.SaveChanges();
this will save values to db.
Answer: After TryUpdateModel(model))
perform savechanges to the database here db is
yourdatabaseaccessfile db = new yourdatabaseaccessfile ();
db.SaveChanges();
this will save values to db.
Thursday, February 27, 2014
How to use Google Charts ?
Answer : Google charts is a simple way to use display charts in our web page just by passing values through query string(i.e passing values through url ex: www.website.com/page?value1=1&value2=2)
pie chart :http://chart.apis.google.com/chart?cht=p&chs=410x250&chdl=Walklists%7CPhone+Bank%7CDirect+Mail%7CEmail&chco=CB4B4B|EDC240|4DA74D|9440ED&chp=0.436326388889&chtt=Current+Activities&chts=666666,20&chl=20%|20% |50%|10%&chd=t:20,20,50,1
values highlighted in yellow are the values you have to provide
bar chart :
http://chart.apis.google.com/chart?cht=bvs&chs=410x250&chco=4DA74D&chxt=x,y
&chxl=0:|Walklist%201|Walklist%202&chbh=a&chtt=%%20Walklist%20Completion&chts=666666,
20&chd=t:50,66,0
to change the chart style and type there are few modification you have to do with the url :
they are :
For More info : https://developers.google.com/chart/image/docs/gallery/chart_gall
Answer : Google charts is a simple way to use display charts in our web page just by passing values through query string(i.e passing values through url ex: www.website.com/page?value1=1&value2=2)
pie chart :http://chart.apis.google.com/chart?cht=p&chs=410x250&chdl=Walklists%7CPhone+Bank%7CDirect+Mail%7CEmail&chco=CB4B4B|EDC240|4DA74D|9440ED&chp=0.436326388889&chtt=Current+Activities&chts=666666,20&chl=20%|20% |50%|10%&chd=t:20,20,50,1
values highlighted in yellow are the values you have to provide
http://chart.apis.google.com/chart?cht=bvs&chs=410x250&chco=4DA74D&chxt=x,y
&chxl=0:|Walklist%201|Walklist%202&chbh=a&chtt=%%20Walklist%20Completion&chts=666666,
20&chd=t:50,66,0
to change the chart style and type there are few modification you have to do with the url :
they are :
For More info : https://developers.google.com/chart/image/docs/gallery/chart_gall
Thursday, February 20, 2014
javascript for On click open new window ? or popup window .
solution : window.open("url");
solution : window.open("url");
How to test website on different browsers and differnt version of os ?
Solutuion : http://www.browserstack.com/
Solutuion : http://www.browserstack.com/
Subscribe to:
Posts (Atom)

.png)
