Welcome To Snipplr


Everyone's Recent Snippets Tagged search



prints "We found 'N' result(s) for 'QUERYSTRING'"
0 1346 posted 14 years ago by dan_hoerr
0 1458 posted 14 years ago by ragnarokkrr
Wanna lose the time portion of the date something was created in a smart search result!?!?
0 1528 posted 14 years ago by inreflection7
This is a simple trick that allows you to design the html5 search input like another input.
0 1214 posted 14 years ago by fabricelejeune
0 1747 posted 14 years ago by magicrebirth
Use whatever is needed to select the input box. $('#searchBoxOuter td.ms-sbcell input') reflects some custom master page html I have so I used that.
0 2324 posted 14 years ago by rumremix
0 1347 posted 14 years ago by psteinweber
This is the quickest way to style the search bar. It involves creating one single image that includes both the input area and search button.
0 1779 posted 14 years ago by rumremix
0 1138 posted 15 years ago by zealmurapa
Der Code für's Firefox Such Plugin (in der Suchleiste)
0 1441 posted 15 years ago by Anarchon
0 2210 posted 15 years ago by Japan
Used to retriev a index, for example to select a item on a combobox with the arrayCollection as dataProvider. Usage: comboBoxNames.selectedIndex = findIndex(arrayColNames, "field_on_array_collection", "value_to_compare_with_field_in_array_coll");...
0 1307 posted 15 years ago by msdevweb
0 1330 posted 15 years ago by adriano
I thought this was pretty elegant code and wanted to share it with anyone who found it useful.
0 1356 posted 15 years ago by mattneary
I use the following code to prevent a user from getting a "webpage expired" message when hitting the back button on a page where the search results are also on the page with the form.
0 2535 posted 15 years ago by bradless
A blank search in wordpress returns all the posts, which could be taken as duplicate content if that got indexed.
0 1438 posted 15 years ago by baires
Search SQL Server field names and stored procedure text, based on a keyword.
1 1813 posted 15 years ago by axs221
0 1360 posted 15 years ago by errkk
replace foo -> bar in all .txt files down the tree Dunno why, the syntax highlighter adds \3's to the code. Try plain text.
0 1872 posted 15 years ago by jarnaldich
Searches down the current directory every file whose name matches (case insensitively) {{file_pattern}} for the regexp {{text}}.
0 1416 posted 15 years ago by jarnaldich
Add this in search.php
0 1365 posted 15 years ago by laurentzziu
Im pretty new to oop php i have tried to create a php search function but im sure this needs alot of improvement. So add on :D
0 1103 posted 15 years ago by JonnySnip3r