JQuery :: Failed To Load Source For 1.5.2.js?
May 3, 2011
Firebug reports "Failed to load source for: [URL]...environment: Apache 2.2.16 on Debian 6.0 (Squeeze) 64-bit using virtual host by IP:port. Here's the virtual host configuration:
[Code]...
View 6 Replies
ADVERTISEMENT
Jan 26, 2010
at the day i include to my web page an iframe , in browser like firefox , opera works fine, but in ie6 sometimes cannot load the content of iframe , and a code who load page in iframe
<iframe frameborder="0" scrolling="no" src='index.php' name='mainFrame' onload='in_process = false;
resizeIframe("mainFrame");'
id='mainFrame' width="100%">
</iframe>
View 1 Replies
View Related
Feb 18, 2011
One of the websites gives "failed to load resource" errors on my desktop while it works fine on my iphone ? How do I reinstall javascript for my OS ?
View 1 Replies
View Related
Dec 1, 2010
Basically there are 2 elements on the target page that I would like to load into the calling page, but I would like to do it without making 2 calls to the page if possible.
View 11 Replies
View Related
Jun 16, 2009
I am trying to assess why the slider that I've linked to in the head tag of my source code will not load properly on my page. My site's link is : [url]
View 1 Replies
View Related
Feb 23, 2011
I got some code that loads divs from other web pages into a particular div in my main page. In other words, I click on a button, and this tells jquery to load afragment of a particular page into my main page. For instance if I have 5 web pages onrock stars, I could have 5 buttons, and each button could load one rockstar's biography into a div on the main page (and replace whatever was there before). This works, and I do see the content that it loaded. But when I do 'view source' in IE, I do not see that content (the bio of the rock star). Another clue that this content is not really there, is when I try and run some code on that content. The content (from those external pages) have divs with specific names, and I try and make them into collapsible panels by running the following short function:
var IdentifyPanels = function() {
$("DIV.ContainerPanel > DIV.collapsePanelHeader > DIV.ArrowExpand").toggle(
function() {
[code]....
View 2 Replies
View Related
Aug 30, 2010
i don't know so much about jquery so just i use them with indication from their web site. so my problem is how can i use multiple source of jquery without one source stop the other,and that what i need:
[Code]....
View 2 Replies
View Related
Mar 23, 2011
i am trying to upload a file with jquery but i am failed here is my code
HTML Code:
<script src="js/jquery.js" language="javascript"></script>
<script src="js/jquery.form.js" language="javascript"></script>
<script language="javascript">
function getResult(){
var encoded=document.getElementById('file').value;
[Code]...
when i echo the $queryz with $_REQUEST method variable the variable shown the img name but the $query= $_FILES[$query]["name"]; this thing shown nothing and not upload the file in images folder
View 1 Replies
View Related
May 17, 2010
In a form, I delete an Input, then submit the form, but the deleted Input still there, don't know why ?
$("#form").remove("#name"); // doesn't work
$("#name").remove(); // doesn't work either
View 4 Replies
View Related
Aug 16, 2009
Demo at [URL]
Description: If you perform any selection, alert will be triggered. It fails in IE.
Code: [URL]
View 5 Replies
View Related
Sep 19, 2009
I have a simple form that inserts a name into a database. The functionality works fine. But the message that is suppose to show is wrong.
Code JavaScript:
$(document).ready(function () {
$('#nameForm').submit(function () {
$('.msgbox').hide();
$.post('ajax.Register.php', {name: $('#name').val()}, function (data) {
if (data) {
$('.msgbox').show('fast', function () {
$(this).html('OK!');
});
}else {
$('.msgbox').show('fast', function () {
$(this).html('Failed!');
});
}});
return false;
});
});
The form always shows "Failed!" even though the name went through in my database.
Code PHP:
try {
$objUser = new PDO("mysql:dbname=ajax;host=localhost", "root", "");
}
catch (PDOException $e) {
echo 'Unable to connect';
}
$strName = $_POST['name'];
if (empty($strName))
return false;
$strQuery = "INSERT INTO name (name) VALUES (:name)";
$objStatement = $objUser->prepare($strQuery);
$objStatement->bindParam(':name', $strName, PDO::PARAM_STR);
if ($objStatement->execute())
return true;
return false;
View 5 Replies
View Related
Jul 11, 2009
recently i noticed that all of my embedded JavaScript code and external style sheets are being shown IN "view source."
this happens in all browsers ( IE, FF, Chrome, and Safari [windows]) ... oddly enough it only happens when viewing on my vista or win2k3 machines. is this something added to these OS's or the result of an installed program? has anyone seen this before?
View 9 Replies
View Related
Mar 25, 2007
Someone can help me in accomplish a connection to 2 wms services. I could connect once but I changed something on the code and now I can't get the things work, the connection fails. Here is the link to the viewer:
View 4 Replies
View Related
Jan 12, 2011
I am useing Ajax to populate a list of selection in a dropdown list so i wrote these js function code...
View 2 Replies
View Related
Nov 23, 2009
I have a website that I frequently visit (FWIW, Firefox 3.x is my browser of choice) with many image sources referring to URLs that end with "-thumbnail.jpg". However, for better image quality, I am trying to use Greasemonkey to replace all instances of "-thumbnail.jpg" in the source of images on this site with "-bigthumbnail.jpg". The closest I could think of was to somehow use getElementsByTagName and innerHTML.replace, but realized that innerHTML does not do HTML, only content.
Below is as far as I tried to get on my own,
var as,ae;
as = document.getElementsByTagName("img");
for (var i = 0; i < as.length; i++) {
ae = as[i];
ae.innerHTML = ae.innerHTML.replace(/-thumbnail/gi, "-bigthumbnail");
}
})();
View 2 Replies
View Related
Jul 29, 2005
Google failed on NSCA Mosaic
View 1 Replies
View Related
Dec 7, 2010
I need this to not add the student to the dynamic table if the function validForm() returns false. How do I do that?Also, if you could show me how to add a delete button that will take off the last entry from the table, that would be great.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[code].....
View 1 Replies
View Related
Dec 21, 2010
This toggle form action not working [code]...
View 16 Replies
View Related
Aug 7, 2009
I have a function to accept number and certain text only when "Enter" key is pressed.
function handleEnter(field, event){
var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
var tmp_val = "";
[Code]....
However, when I added a second condition, the code stops working if (isNaN(tmp_val) && (tmp_val!="ABC" ||tmp_val!="DEF") )
View 4 Replies
View Related
Nov 26, 2011
I am trying to get to where it will check to make sure either one of the checkboxes are selected, then if not, show alert and do nothing else, but it is still loading the next page in the form action. How can I get this to not load the page when the check fails and only when it passes?
[Code]...
View 2 Replies
View Related
Mar 23, 2011
I have a link that when clicked pops up hidden div and loads it with the results of an ajax function ( below ). The problem is that no mater what the line if (req.readyState == 4) never evaluates to true. I have used the same code in many other locations on the same site, but for some reason this time the popup opens, but the ajax does not return anything.Please take a look at the code below, this is a 'simple' version of what's going on. I can not take credit for all of this code as most is taken from examples on the interweb, but it has worked, but now does notjavascript
Code:
var req;
var doesNotSupport = true;
[code]....
View 2 Replies
View Related
Sep 1, 2011
Currently I have the following script:-
function validate_form(){
if(regform.reguser.value == ""){
alert("Please completed the selected box");[code]....
to validate a simple registration form, however I initially tried to streamline this function by cycling through an array using a loop to point to various input elements in the HTML page itself. I found that when trying to use a variable in the aforementioned if statements the javascript failed to work i.e.
var test = "reguser";
if(regform.test.value = ""){
}
I know the javascript is looking for the input element "test" instead of "reguser" but is there any way I can force it to look for the contents of the variable.
View 2 Replies
View Related
Oct 25, 2011
I can not this code in my web page. Could you please check it ans say how I can run. I try the code using html test page but failed.
<script language="javascript"><!--
document.write('<iframe src="http://www.juenpetmarket.com/moduls/banner/banner_reklamiframe.aspx?
[code]....
View 13 Replies
View Related
Dec 19, 2011
I am using this widget from Twitter on my WordPress platform, to display the list in my sidebar [URL]. As you can see, I have this small twitter icon at the bottom and if I set up a white background for the container, that background image won't be too visible so I have to change with jQuery.
I've tried like that but doesn't work for me:
<script type="text/javascript">
$(document).ready(function() {
jQuery(".twtr-ft div a img").attr("src", "http://www.my-url.com");
});
</script>
View 4 Replies
View Related
Aug 5, 2010
In my code, I want to check "undefined". But it failed.
Arg is a string array which will be passed into the function createTable.
Code:
View 9 Replies
View Related
Oct 5, 2011
I want to use jQuery Autocomplete with a webservice as Source Webservice:
http://localhost/webService/AutoCompleteData.ashx
is providing following data:
...
[code]....
View 1 Replies
View Related