|
#1
|
||||
|
||||
|
asp的程式碼
請大家幫忙一下 search搜尋頁面中 有一段 <%if trim(request("search"))="" then response.redirect "javascript:histroy.go(-1)"%> 是否可以改為 若search欄位未輸入空白時則欄位值為"123" 因為我使用框架 無法退回上一頁 麻煩 謝謝了 |
|
#2
|
|||
|
|||
|
if trim(request("search"))="" then
search="123" end if 沒試過不知道對不對~ 有問題再問吧~ |
|
#3
|
|||
|
|||
|
ASP 是沒辦法直接改 input box 內容的
要直接在 input 改 value (用 Reponse.write )即可 <input name="xxx" value=<%if trim(request("search"))="" then response.write "123"%>>
__________________
AJAX 線上 IDN 轉換 Punycode |
|
#4
|
||||
|
||||
|
感恩~~~真多謝~~~
|