Follow us on Twitter!
Your life is ending one minute at a time. If you were to die tomorrow, what would you do today?
Saturday, April 19, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 25
Guests Online: 24
Members Online: 1

Registered Members: 82832
Newest Member: SerMSYS
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

javascript


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 29-09-05 22:04
i want to know if it is possible and if so, how i can create a site search in javascript iwant it to search the specified url
Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<form id="searcg" name="search" action="">
  <label>Search value:
  <input type="text" name="value" tabindex="1" />
  </label>
  <label>url:
  <input type="text" name="url" tabindex="2" />
  </label>
  <label>
  <input name="Search" type="submit" id="Search" tabindex="3" value="Search" />
  </label>
  <script language="javascript">
  function search () {
  if search =="";
  Alert("please enter all fields");
  window.location.href="search.html";
     }
  else {
  ?
     }
  }
  function value () {
  if value ="" && value !="http://*"
  Alert("please enter all fields")
    window.location.href="search.html";
     }
  else {
  ?
     }
  }
 
</form>
</body>
</html>



im no expert with javascript so correct me and tell me how to implement the search
Author

RE: javascript


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 03-10-05 06:37
you need to be more specific in what you want to search. however. it's probably not going to be very easy in javascript since it's client-side.


Author

RE: javascript


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 03-10-05 20:28
yeah i now it wont be easy but i just want to searchlike content of a site likethe ctr+f function
Author

RE: javascript


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 03-10-05 21:55
PHP would probably be the way to go mate.


Author

RE: javascript


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 04-10-05 18:59
i need it in js i know how to do it in php