HTML - Add Text To Search Entry
I need a way to add a specific term to any search entry made on my site. I've looked into hidden texts, but not sure if that's the way to go. Any insight on how this could be done would be greatly appreciated it!
Similar TutorialsHi everyone, Hoping someone might be able to help me - I'm a Latin teacher, trying to design a website for my students to practise their verb conjugatiosn and noun declensions, so what I'm wondering is how I have, for example, a grid with text boxes for students to write the correct endings in and then a submit button which then checks what the student has written in the box and then maybe a pop up window appears saying "you have got 2 endings wrong, try again" or something like that... any ideas? I got as far as looking at forms but couldn't work out how to adapt them to the purpose I'm looking for. Would be very grateful for some help on this! PinguisIuvenca Hi...not sure if this is the proper place to post this or not. I'm trying to do two things...first: I'm trying to set up a search box in frame 1 that will search, scroll to and highlight text in frame 2. Is this possible? I've been searching around for days looking for answers, and have so far come up short. I managed to create a search box in frame 1 that reloads frame 2, but that's not really what I'm after. ---------------------------- Now for the second thing I'm looking to do (along the same lines): I want to click a link in frame 1 that scrolls to a target in frame 2 and highlights it. The target is a word in the middle of a paragraph. Any help would be appreciated. I'm pretty green, so treat me like a beginner. Thanks so much! hey guys i need help with a SearchBar.. i made a Wordpress theme.. and i have the Search Bar.. and i want on that search bar to have the text "Search" or "Find me" something like that how do i do that ? and when people click on the t ext the text to disappear and to be able to type their own. Hi all, I don't exactly know what to call it, apart from the explanation to what I want to do. Basically, I have a HTML page. On their, I have a text box and a search button and some text in a table. What I want to do is, when typing something in the box, clicking search will then jump to a part of the page and 'highlight' what is typed into the box. Ideally, the page will run in either HTML but I can use ASP. Unfortunately I cannot use PHP. Could anyone please help or give me some advise on this? For example, this scenario: 1. My page contains the text "giraffes in corduroys" 2. somebody googles that text - either as a phrase or just the words 3. google points them to my page 4. the user clicks to go to my page... Is there any way to determine that it was the text "giraffes in corduroys" which brought them to my page? Would the crux be getting the previous URL in the browser history? Hi, I am wanting to impliment a feature where I can install a search box on my website that will search anothers content. Basically I have two sites, one has thousands of sound effects on it, the other is more of a portal site. On the portal site I want to add a search box that will link into the other sites database so that the user would navigate away from the portal site and be taken to the stabndard search results page of the main site based on thier queory. Is there any code that anyone knows of to do this? Thanks all! Can anyone please help. I am producing a website for our Golf Society. I have a page for people to enter online. The way I would like it to work is by having a combobox which includes members names and once selected an "Enter Event" button. Once this button is pressed I would like an email to be automatically sent to notify our secretary and a list to be compiled in another area of the site which either gives the members names who have signed up or a rolling total of the number. If this is possible can anyone please tell me how How do I create an entry page that only shows to 1st time visitors, I am creating a forum and would like to have a welcome page that shows when someone 1st visits the site, but after they have entered and registered they no longer see this page if cookies are enabled. Is this possible? I've got the general gist down for my data entry, what I would like it to do now when they click Submit, have it save the input text into a field on the .html they are currently on. So they fill the data out click submit, it reloads the page, and it displays the entries they just typed under the actual data form. So if they wanted to add more information again it moves the previous one down further and adds the new entry above the previous entry, but below the data entry fields. If I am not making since just say so. Code: <html> <head> </head> <body> <form action=" HELP HERE " method="post"> <p><label for="firstname">First name: </label> <input id="firstname" type="text"><br> <label for="lastname">Last name: </label> <input id="lastname" type="text"><br> <label for="age">Age: </label> <input id="age" type="text"><br> <label for="sex">Male/Female: </label> <input id="sex" type="text"><br> <label for="email">E-mail: </label> <input id="email" type="text"><br> <input value="Submit" type="submit"> <input value="Clear" input="" type="reset"> </p> </form> </body> </html> OK, I figure this CANNOT be as difficult as I'm making it..... I do database design and implementation: RdB, Oracle, SQL Server, even MySQL if I have no choice... But I don't do extensive web pages..... A club to which I belong would like to move an application from Access to the web. I created a MySQL database and now need to create forms that look, feel, work, and have capabilities similar to those currently implemented in Access. Something like: First Name: ________________ Last Name: __________________ Street: _____________________ Street2: ___________________ City: ______________ State: _____ Postal Code: ___________ Email Address: ________________________________________________ I'm finding doing something this trivial amazingly difficult since even VWD attempts to either push everthing into a single column or for side-by-side fields shoves them together. Even if I get things working in VWD it appears to push asp.net and I"m not certain the club's web server even supports this (it doesn't support any Microsoft products as near as I can tell). I've spent days rummaging the Internet looking for "simple html forms" and even "complex html forms" without finding the magic answer to doing simple form formatting... It cannot be this primitive. So, is there a special set of tags or something that I need to do this type of simple formatting? I'm looking for simple web forms attached to a MySQL database to do data entry, searches, editing, and so on. And, of course, this club has no money so buying additional software (and spending the time to master it) probably isn't an option. So how do I do this? Hi, I am trying to figure out how to restrict users (guests) from browsing straight to a page within my site. I would like to ensure that all users must access the site via www.mysite.com Example: User- browses to www.mysite.com/pages/interestingpage.php (or .htm) I would prefer to force the "User" to click their manually via the links on my main page. I imagine some sort of session would be required for this. However I do not wish to require users to log in. I've heard that .htaccess or Apache's config file can be used but so far I have not been successful. I do have full access to the server/configuration. Hoping someone can assist. Examples would be most ideal. Thanks! Is there a way to insure that all form fields are reset to empty or default values upon entry to the page that contains the form? I'm asking this because if someone has already submitted a form and arrives at the next screen, that form has already been logged. If they go back, it gets logged again and I don't want that. I would prefer that the solution would involve HTML &/or PHP because many people have Java script disabled. But, if it can't be done with HTML or PHP, then so be it. I'll have to use Javascript. My first thought was to somehow disable the "Back" button but that is probably offensive to many, and I wouldn't want to alienate anyone. Maybe someone on this forum might have the answer to my question or may be able to suggest another approch I could use. Thanking you in advance, Roy Hi, I have a simple list of text entry's that all have the same class (sample shown below) presented on a webpage. I am trying to present the top 5 entries first, with a next button to another page showing the next 5 entries. I was wondering if there was an ajax, javascript or other code that could sort this automatically so when I add new entries to the top, the older entries get shuffled down onto the next pages. I have previously been manually moving the entries from page to page when I add a new one, and am looking for a more efficient alternative but without having to use a database either. Thanks for your time and any suggestions would be really appreciated. Code: <div class="archive-title">title 24th Aug</div> <div class="archive-title">title 21st Aug</div> <div class="archive-title">title 16th Aug</div> <div class="archive-title">title 13th Aug</div> <div class="archive-title">title 9th Aug</div> <div class="archive-title">title 2nd Aug</div> <div class="archive-title">title 26th Jul</div> <div class="archive-title">title 10th Jul</div> <div class="archive-title">title 9th Jul</div> <div class="archive-title">title 4th Jul</div> Hi, I want to make a search box on my website. The thing is that I would like the search bar to be able to search on multiple search engines. For example I can type a movie in the search field and then I can select if I want to search for the movie either on google or on IMDb. I want it to look like this: http://subtext.no/kjartan/charlie/searchbox.png If anyone could help me get this kind of searchbox it would be great. Thanks in reaply. I'm trying to have my search box and search button aligned but I can't seem to get it working. Whenever I try to move one vertically, both of them end up moving and I'm all out of ideas. Here is the code: Code: <script src="http://supportforms.epnet.com/eit/scripts/ebscohostsearch.js" type="text/javascript"></script> <form action="" method="post" onsubmit="return ebscoHostSearchGo(this);"><input id="ebscohostwindow" name="ebscohostwindow" type="hidden" value="1" /> <input id="ebscohosturl" name="ebscohosturl" type="hidden" value="http://search.ebscohost.com/login.aspx?direct=true&site=ehost-live&scope=site&type=1&custid=S6281220&groupid=Main&profid=EDS&mode=bool&cli0=FR&clv0=Y&cli1=RV&clv1=Y&cli2=PT82&clv2=(PT+Academic+Journal+or+PT+Periodical+or+PT+Trade+Publication)%7e(PT+Book+or+PT+Almanac+or+PT+ebook+or+PT+audiobook)%7e(PT+Newspaper+or+PT+NEWSP+or+PT+Newswire+or+PT+WIRES)&lang=en&authtype=guest" /> <input id="ebscohostsearchsrc" name="ebscohostsearchsrc" type="hidden" value="url" /> <input id="ebscohostsearchmode" name="ebscohostsearchmode" type="hidden" value="+" /> <input id="ebscohostkeywords" name="ebscohostkeywords" type="hidden" value="" /> <div style="background-image: url('http://i.imgur.com/Wjilo.jpg'); background-repeat: no-repeat; width: 900px; height: 600px; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 9pt; color: #353535;"> <div style="padding-top: 249px; padding-left: 70px;"><span style="font-weight: bold;" ></span> <div> <input id="ebscohostsearchtext" name="ebscohostsearchtext" type="text" size="23" style="font-size: 16pt; padding-right: 340px; height: 50px;"> <button type="submit" style="border: 0; background: transparent;"><img src="http://i.imgur.com/nYPoa.png" width="145" hspace="25" alt="submit" /> </div> </div> </div> </form> Alright, fairly basic question here, but I'm kicking myself over and over trying to figure out some fairly basic code. What I'm doing for a friend is helping code his gaming website so that his in-game buddies can update their stats on his page. I'm just about done with the simple database work, so they can create usernames/passwords etc, but the stats page is a bit of a problem. Basically, I want a form page only accessible once they've logged in, and they can then input their information onto the form, hit "Enter" (or some other button to that effect), and the site will update a different page with all of their stats which were input into the form. No idea where to start. Help if possible, thanks. I'm using IE8 to test Hi, I'm trying to add a google search box (in a table) to my web page, but for some reason it the input button links to the page I am currently on. The strange part is that I put the same exact code in another cell right next to the other google search box and that one works wonderfully while the first one still links to the current page. It is the same with any search engine (yahoo, bing, ask), the first search box links to the current page and the rest work great. Here is the code I use: Code: <form method="get" action="http://www.google.com/search"> <input style="width:140px" type="text" name="q" size="31" maxlength="255" value="" /><br /> <input type="submit" value="Google Search" /> </form> Hi I was wondering if someone could help me out with a project I working on at my work. I have created a simple form web page that the sales people use to send a request to the help desk Everything works fine except my boss doesnt like the output of the email that gets generated to the helpdesk when someone clicks the send button. How can I change the format of the posted email?? I am interested in having a web format or some sort of word document attachment. this is what I have coded right now method="POST" enctype="text/plain"> |