28.7.10

Ricerca Personalizzata Sharepoint

Nella tua Content EditorWebpart

<b>Inserisci numero di protocollo:</b><br>
<input type=text name=CRSearchString id=CRSearchString>
<input type=button name=btnSubmit value="Cerca" onclick="DoCRSearch()">
<br><br>

<script language="JavaScript">

function DoCRSearch()
{
       var obj = document.getElementById("CRSearchString");
    var strSearch = obj.value;
    strSearch = escape(strSearch);

        document.location.href = "http://win-sharefe1/Ricerca/results.aspx?k=nprotocollo:" + strSearch + “&u=http://win-sharefe1:9998/prova_vendite”;
}</script>

No comments:

Post a Comment