I'm looking for a script that embeds the text typed on a hidden(and protected) page in to a other page that can be viewed for visitors this text must stay till the owner sets a new text.
this is to update a site of a restaurant and they want to chance just the "menu of the day" (one textline only)...
I have a text field (field1) already displayed on the HTML page. However, there's a link where you can add additional text fields to the page as well. When the link is clicked, the second text field is added successfully (field2), and when the link is clicked again, the third text field (field3) is added successfully. However, the third field does not add itself to the page, and the text for anything greater than a third field also isn't displayed after. This obviously means that my "fields" variable is not working right
I m having a text data of around 6 page length in a text editor...I want to print dat data using window.print. For that i displayed dat data in a html page and used window.print(). Bt my client wants dat some line spaces shud be inserted first in the starting of the page and on the second page also...After that the printing shud be normal... How can i set the page in such a format...?
Is it possible to have a text box input searching for the entered text on another webpage in the same way Find In Page would do? I have a webpage that I want users to input an item, and that this will open the targeted webpage and bring you to (and highlight) the matched item(s) like find in page does. Is this possible or is the easiest way to just make users open the link to the target page and just complete the find in page search there?
I have a forum with over 5000 topics (lots of content in each topic) and I have a wiki-website with over 4000 articles. Both share the same database and are similar in context.
Now, I was wondering if there is a JavaScript out there that can could scan my forum page and underline words on that page that are articles on the wiki. For instance, if I have an article in the wiki entitled "Heart", where ever "Heart" appears in the forum, it is underlined and linked to that exact article on the wiki.
This conceptual idea is very similar to In-Text advertisements, such as Kontera, but I can't seem to find the scripting they use.
If you look on the right panel, at the heading "What our clients / journalists say", you will notice that it fades into another set of text. However when the page first loads because it takes a few seconds loading in the twitter feed, you will see a big lump of text running down the page.
Only when the Twitter feed has loaded does the lump of text disappear. Can i overcome this somehow?
How do I make it so that typing into a text box and hitting a button will take me to a different page and populate a text box on that page with the text from the previous page?
i want to put a script on may page so that a visitor can write a text (something like a review) in a textbox,and then, that text should appear on that site
[PHP] <html> <SCRIPT LANGUAGE="JavaScript"> function checkrequired(which) {
If I open a new page with very little text on it such as a bugmenot results page is there a way to select some of the text there and assign it to variables?
Selecting all and copying to the clipboard can be done with:
I'ld like to create a web page, from which no one can select the text simply, copy frm there n paste at another location. In simple means, i'ld like to stop copy process from my web page.
Using JavaScript, can I tag a block of text and then change the text appearing in that block?
I'm doing a type of calculator and I'd like to display the resulting number in a <td> (or div or whatever works) on the page. I'd like to avoid using a text form field for the output.
Is there a way to pull a text off a certain div on a page, and put it into a javascript string? I'm certain that the field has a particular name and id that I can use, if need be.
.innerHTML is used when you trigger an event but if you just want to display the text how would you go about do it??I don't want to used document.writeln because it will "Wipe out all the contents" of that page.So I have some HTML text and javascript text.I would like both to display on my page.
I have 2 pages of html, one is test01.html and another is testing2.html files.My question is: In test01.html page I have some text fields,onclick on the button in the testing2.html page some text should show in the text field in the test01.html page. Is it possible to do it using javascript?
On my webpage you will see the listing "DMV" under the "transporation" heading. When the user clicks on the arrow I want it to open up additional text below the arrow. http:[url]....
I have seen the "Select All" button or "Highlight All" button on numerous sites in the way of selecting text in a form field, but what I am wanting to do is with a button select all text in a table so all the viewer needs to do is press CRTL+C to copy the text. I have tried javascript:document.MyTable.select(); but it doesn't work. It really isn't an option for me to use a text box for the data as it is being formed dynamically in a table from a database.
While on vacation I've been writing a bunch of javascript/css text effects for fun and I'm planning to look into how I can implement my code inside a url. So now I want to know how I can recognise and grab the text from any random webpage and put it inside of a variable, my script can take it from there.
I've got a requirment to copy some content from an HTML page. It is a failry lengthy page and we want to give the user/reader the ability to click a button and have a section of the page copied to the clipboard, or at the very least selected so they can just right click and copy it. The issue is that text/content to be selected/copied is not in a textarea.
I've got it in a div right now and can get the innerHTML of the div and set a text area to that but it comes in with all of the HTML tags and so when I copy it to notepad I get all of the tags which is what I dont want.
Has anyone done this before? I've tried numerous things to get it to work and have had no luck.
I have an ASP page that send data to a database. One of the fields is "Date" (no quotes). The form name is FrontPage_Form1. I would like the Date field to auto populate. So, I did some research and the only thing that I could come up with that worked was this:
<script> function upDate() { FrontPage_Form1.Date.value=new Date(); }
Apologies for the almost duplicate post but thought this was much clearer description of the issue than what I originally posted.
I'm trying to do simple integration with a third-party web application. The app has an 'Action' button on all pages that can be associate with a JS function. Our application is very proficient at parsing text provided it is in some reasonably standard structure.
Is what we are trying to do is have a JS function that can be called from any page in their system that will provide a reasonable representation of the text on the screen. I need something close to document.body.innerText; the problem with this function is that it strips spacing from tables so we can't get consistent layout.
The consistent layout I am looking for would be the same as if you did the following on any page:
1) Select all 2) Copy 3) Paste to notepad
Is there a function or process that will retrieve all text and retain formatting?
The page I am opening is not mine. I want to edit the content of the page I am opening, adding text "This page is opened in a new window" as a first thing after the body tag of the opened page.
Is it possible to do it with javascript, while opening the page, or should I use Java?