Copying A Robots.txt File From A Webserver?

Feb 4, 2011

How would I go about copying a robots.txt file from a webserver and then displaying that information?

View 1 Replies


ADVERTISEMENT

Running Script On Local Webserver

Jul 20, 2005

The following script works fine on two Webservers in the internet, but it
doesn't work on my local Webserver (Xitami). I also tried the IIS, with the
same result - Code:

View 2 Replies View Related

JQuery :: Jslider Not Working Properly On Webserver?

Oct 28, 2011

i m using jslider on my page working properly on my localhost server but after uploading files through ftp it is not working, only the left and right arrows have been shown.

View 1 Replies View Related

JQuery :: Superfish Works Locally - But Not On My Webserver

Dec 13, 2010

For the life of me, I can't figure this one out. I've never had such an issue in the past and cannot find anything through a google search - and that's very rare for me.

So here's the technical nitty-gritty details:

I'm using jQuery hosted on [url]

I'm using the superfish drop-down menu and (at the moment) the default CSS, even if it doesn't integrate at all with my design

I'm also using "supersubs" to make the menu items larger

I'm building the menu through jquery by reading an XML through ajax. So I know jQuery works.

Everything is a-ok on 2 computers when viewed through either Firefox, IE or Chrome (even though it looks ugly in IE - didn't tweak it yet)

But, when I send the files through FTP to my host, it simply does not work. Neither my menu built through jQuery nor superfish or supersubs works. I don't get any sort of errors (normally, IE is helpful in pointing out javascript errors, but there's nothing this time).

The searches I did *had* results, but they were either about doing cross-domain ajax (which I'm not) or about javascript files not being served properly on the webserver. Knowing this server, that's most likely not an issue. I'mtransferringfiles using FileZilla, which also (I think) rules out transfer issues.

The URL: [url]

View 10 Replies View Related

JQuery :: OnChange Event - Web Application - Each Blur Event Makes A Call Webserver To Store Value Of Textfield

Jan 21, 2010

I'm currently facing a weird issue with the onchange event. I have a web application where each blur event makes a call the webserver to store the value of the textfield. I only want to trigger that ajax call when something has changed, so i track the onchange event on each textfield to set a flag if something has changed.

The onchange event always fires to first time when i click outside of a textfield even if i didn't change anything in the field.

I narrowed it down to the following: A prefilled textfield always fires the onchange-event the first time you leave the textfield. An initially empty textfield does not fire the onchange event.

Sample code (IE 8 on Windows 7 computer):

script:

HTML:

View 5 Replies View Related

Copying The Content Is Not Possible?

Sep 24, 2009

view the link [URL] where copying the content is not possible by any means, either by right clicking or from view source. How is this achieved?

View 3 Replies View Related

Copying To Clipboard

Jul 17, 2003

is there a way to copy some text to the clipboard in JavaScript?

View 5 Replies View Related

Copying The Text

Apr 30, 2005

I am writing a javascript to select something and then copy it to clipboard.... I know how to do the same thing when working with the form element but don't know how could I do it with the divs and others...

let's say i have some text in between element div and pre and div has the class attribute:

HTML Code:
<div class="text">
<pre>
....... some text .....
</pre>
</div>
what I want to do is select "....... some text ....." and then copy it

View 6 Replies View Related

Copying A String To Clipboard In IE4

Jul 23, 2005

I need a utility that will basically add a "Copy OnClick Event" to my
right click context menu in Internet Explorer IE. I am a super newbie
in javascript. The following code works for IE5, but not for IE4,
which doesnt have setdata, getdata, etc. methods for dealing with the
clipboard. The folowing code is invoked by a registry context menu
entry. When I looked at IE4's copy system uses execcommand, it only
works on something that is selected as far as I can see, I dont have
anything selected, because user isnt going be highlighting, and that
wont get the onclick attribute value. All I have is a variable string
in javascript with what I need to get into the clipboard. How can I
make this code work in IE4, so I dont need to force users to get IE5?

<SCRIPT LANGUAGE="JavaScript">
var clipRes;

var parentwin = external.menuArguments;
var doc = parentwin.document;
var actele = doc.activeElement;
var attrib = actele.attributes;
var oc = attrib.onclick;
var str = oc.nodeValue;

alert(str);
clipRes = parentwin.clipboardData.setData("Text",str);
alert(clipRes);

</SCRIPT>

View 4 Replies View Related

Copying From One Field To Another Form

Feb 23, 2009

I have two forms on one page. I want to copy the content of one field in form1 to another field in form2. I don't mind using a button. I've put in the code, but it doesn't seem to work. The first field is a long select box, and the second field is the same. Is this the problem? Can you not copy from a select box? In the first form, the select box is populated by the user. I just want to copy the items they've put into the select box into a field in form 2. Here's what I got for my copy button:

[Code]...

View 3 Replies View Related

Copying Data From One Textbox To Another

Nov 14, 2011

I have 2 text boxes on my page. When the user clicks in one text box, I would like whatever is in there to be copied to the other text box. Is this possible? I have looked into it and onClick seems like it might do it but I can't get it to work.

View 7 Replies View Related

Copying To The Clipboard Using XUL In Firefox

Dec 30, 2005

This used to be possible with Firefox 1.0 if the script was signed or if the security check was disabled for the session. However, I cannot get this to work anymore with version 1.5. Code:

View 1 Replies View Related

Copying HTMLImageElement To Clipboard?

Mar 18, 2011

I'm still learning Javascript, but I had a quick question regarding copying images to my clipboard. There's an image that I want to copy to my clipboard from an HTML page:

<img src='captcha.php' id="captcha_image" />

I've been reading that this is called an "HTMLImageElement." Is it possible to copy this element to my clipboard so that I can later paste it into a paint file and save it?

View 2 Replies View Related

Copying A Table To An Array?

Oct 1, 2003

Hello everyone I was just try to copy the contents of a table and put it in a multidimentional array! But for some reason it keeps rewritting over each time only returning one row! I just cant figure out what I am doing wrong its probly simple! Any help would be great!

Code:
var tabular=new Array();
function copyTable(){
obj=document.getElementById("theTab");
for(i=0,j=0;i<obj.rows.length,j<obj.rows(i).cells.length;i++,j++){
tabular[i]=new Array();
tabular[i].push(obj.rows(i).cells(j).innerText);
}
alert(tabular);
}

View 17 Replies View Related

Copying An Image Into A Iframe

Jun 18, 2004

I am using the code below to insert an image into an iframe (idContent). This works fine, however, if i dont select the iframe before inserting the image the image is pasted into the window document by default... I was wondering if there's a way to check that the selected area is indeed the iframe and if not then don't paste the image code.

Code:
selectionRange = idContent.document.selection.createRange();
selectionRange.pasteHTML(image);

View 1 Replies View Related

Copying An Image From The Clipboard?

Dec 16, 2007

Is there any way to copy an image from a user's desktop clipboard into a form using JavaScript? For instance copying the contents of 'print screen' into a WYSIWYG form. I've tried pasting 'print screen' contents into various WYSIWYG editors, and while this words in Word, it doesn't seem to work with online text editors - if you want to insert an image using an online text editor, it seems you have to specify the URL or upload the image file.

Is it possible to send an image on the clipboard to a website in any automated fashion?

View 1 Replies View Related

Copying A Table Cell With No IDs?

Jan 16, 2010

I'm working on an iPhone application that extracts data from a website using Javascript and displays it in a more user-friendly text box. Everything works fine and dandy, however, now that I've come up to the last element, I need to extract text from a table on a website.Basically what I want to do is find the balance, in this case '$17.28' from 'results_table', and have that stored in a variable. I've looked around on google with no real luck.

Code:
<div id="state_info"></div>
<table cellpadding="0" cellspacing="0">

[code]....

View 1 Replies View Related

Copying Web Page Content - Disable

Jul 23, 2005

When browsing a web page a user has the ability to highlight content on a page (by holding down the left mouse button and dragging the mouse over the desired content). Is there a way to disable this option?

View 22 Replies View Related

Copying A Table's Properties And Styles

Aug 26, 2005

Is there a way to copy over a table's properties and styles (NOT it's
child elements like tbody, trs, etc) into another table, besides doing
them manually, one by one?

View 2 Replies View Related

Split() And Copying From One Form Field To Another

Mar 20, 2009

I am retro-fitting a Point of Sale system and I have run into a problem with splitting out information entered in one form field and parsing it into 3 others. This works just fine in FireFox but not IE. (I get "object expected"...) The purpose here is when the card is swiped in the system, and they hit the tab key on the keyboard, the string that the card enters is split into Card number, Name, Expiration Date.

(I found a script online and modified it to fit the existing form, I do understand the code, but in the spirit of full disclosure I didn't write it from scratch.)

[Code]...

View 3 Replies View Related

Copying Values In Text Boxes

Jan 3, 2011

Is there a shorter and cleaner way of performing the following:The objective is to get the value/input from the first set of textboxes in the form and copy them to other set of textboxes.

View 4 Replies View Related

Copying Form Data To New Window

Aug 12, 2011

How could I use Javascript to copy form data in text boxes on one form to the text boxes in another form in a different browser window. For instance, if I have the following form in the main window:
<form name="form1">
<input name="your_name" type="text" size="15" value="John Doe" />
<input name="todays_date" type="text" size="15" value="8/12/2011" />
</form>

Here's the psudocode for the second form:
Upon clicking that link a second window opens containing the form:
<form name="form2">
<input name="full_name" type="text" size="15" />
<input name="todays_date" type="text" size="15" />
</form>

How could I use Javascript so that the click of a button will copy the contents of "your_name" and "todays_date" in form1 to the new window's "full_name" and "todays_date"in form2?

View 1 Replies View Related

JQuery :: Copying Html To Another Div From A Partial Update?

Jul 20, 2009

I have an ASP.NET MVC web application, consisting of subcontrollers, each generating their specific html contained by divs.

As an example, on the same page this is generated (among other stuff):

<div id="trace"/>

and

<div id="survey">
textfields and ajax submit button
</div>

Now, the survey has a submit button in a Ajax.BeginForm, that does a partial update of the durvey div itself.

What I also want to do, is that if the submit button is clicked, not only the partial update occurs of the survey div, but I also want to get other partial data and display that in the trace div which is also on the page somewhere.

I tried to execute some jquery after the partial update, but apparently that code is not executed.

View 1 Replies View Related

JQuery :: Copying Data From An Id To Input Field?

Dec 13, 2011

I'm trying to copy some data from an id to an input field when a drop down menu is changed

$(document).ready(function()
{
$("#reservation_copy").change(function()
{

[Code].....

View 2 Replies View Related

State Field For Copying Shipping Same As Billing Not Working?

Dec 7, 2009

I am trying to copy the billing information to be the same as the shipping information when they select the checkbox. Everything seems to work except for the State field which is a drop down. Depending on what country they select, the state field will automatically populate. how I can copy the billing state to be the same as shipping as well?

View 2 Replies View Related

JQuery :: Copying Object And Leaving Original Intact

Mar 26, 2010

The code below is jquery, and uses jquery's extend() [URL] function, but I don't think that the issue has anything to do with that... does it?

$(document).ready(function(){
var obj1 = {
"name": "spud"
,"age":32
}
var obj2 = obj1;
$.extend(obj2, {"location": "UK"});
console.log(obj1);
});

By my reasoning, obj1 shouldn't have location set. But it does. Is the line
var obj2 = obj1;
not making a copy of the original and leaving the original intact? Is it instead making some sort of reference to it? Why is changing the copy having an effect on the original??

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved