Hi I want to access a local file of my system from the browser? Is there anyway through which it can be achieved as there are lot of security checks invloved? or any other work arround using ActiveX or Java Applet???? Please help me out..
...
i'm having a textbox where i need to set focus/ cursor at required index of the textbox
in opera browser.
...
Ok, simple question:
<div onclick="javascript:manualToggle(this)">
<span>Allowed to click</span>
<span>Not allowed to click</span>
<span>Allowed to click</span>
</div>
Without replicating the manualToggle on to the 2 spans that are allowed to click, how can I prevent the "Not allowed to click" span from firing it's parent ...
hi, i have div:
<div id="example">
...some text...
<script type="text/javascript">
... some javascript...
</script>
</div>
how to get content of div "example" but also with that javascript ?
$("#example").html(), $("#example").text(), $("#example").val() doesnt work.
so i want to get this:
...some text...
...
Hi,
I have written a service using Axis2. Now I wish to consume it using a browser based client written in JavaScript.
Would appreciate if some one could give any pointers on this.
Thanks
...
I have a page with jquery on it. It works fine in Firefox, Chrome etc but if I load it in IE, none of the Jquery functions run, and IE's script debugger shows:
Error
A Runtime Error has occurred.
Do you wish to Debug?
Line: 269
Error: Unterminated string constant
Yes No
The line in question is in my (unmodified) jquery.js th...
I have an anchor tag on my page, i want an event attached to it, which will fire when the display of this element change.
How can i write this event? and catch whenever the display of this element change?
...
I am trying to detect the height of a div that I am loading content into. This div does not have a specified height, as I am loading pages into it and they themselves fill up the div in different amounts. I think the code I am using is not working…
The #content div is getting the correct height on document load, however I cannot get the...
Hai
I want to create a project in Zend framework, but I don't know any idea about how to include this zend framework in to wamp server.
Any one please helps me...?
Thanks in advance..
...
First thing, i know i should use a server side language to accomplish this not client side like jquery but that's not the point, i'm just trying to learn how to use it to manipulate html. Heres the html:
<div class="items">
<div class="boxgrid"><span class="cushycms"><a href="#"><img src="1.jpg" alt=""/></a></span><div class="cover"><...
I have been created code for the location specify by user entry through text box(e.g. http://maps.google.com/local/add/lookup?welcome=false&hl=en-US&gl=US ) the code is given below.
I'm totally new for this technology plz help me as ur best.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xh...
Hello,
I have html like this
<td>
<textarea name="foot"><?=$e->foot;?></textarea>
Preview:
<div><?=$e->foot;?></div>
</td>
So how can i collect the data of textarea and load it into the div next to it with jquery. Also i have lot of textareas like this, so how is it possible to load the text entered with onchange to its next div.
Th...
I have a select Menu with a few options
<p>
<%= f.label :reason %><br />
<%= f.select :reason, Confirmation.reasons.collect {|p| [ p[:name], p[:id] ] }, { :include_blank => true } %>
</p>
The last being id "5" and name = "Other"
If and only if they choose other I want a hidden text_area with a div id = "other" to be shown...
I'm making a simple ajax login system using cookies to remember username or login automatically on the next visit. Everything works ok, the cookies are set 10 days to the future, I can see them when I go and see Firefox's cookies but they are deleted when I restart the browser.
The cookies are set with setcookie() from a php script calle...
Hello,
I have three forms and using this jquery function
$('form').submit(function() {
$.ajax({
type: $(this).attr('method'),
url: $(this).attr('action'),
data: $(this).serialize(),
success: function(response) {
$('#setInfo').fadeOut('500').empty().fadeIn('500').append(response);
}
...
Here's part of my models.py:
class Person(models.Model):
birth_year = WideYear(null=True, blank=True)
birth_year_uncertain = models.BooleanField()
death_year = WideYear(null=True, blank=True)
death_year_uncertain = models.BooleanField()
flourit_year = WideYear(null=True, blank=True)
flourit_year_uncertain = model...
I'm currently trying to set up a web page for a touch screen computer, and have noticed that (with my fat fingers) that onclick events are really hard to trigger, as the surface area of my finger generally causes the cursor to move while I "click".
The solution I want to use is forwarding onmousedown events to onclick. How can I make t...
I'm writing a simple bit of javascript to hide/show items in a list depending on the checking/unchecking of checkboxes.
For example, I might have 3 checkboxes, representing colours red, blue , green. And a list of products that are available in 1 or more of those colours. So if the red and green check boxes are checked, then the product...
I'm coding a combo box of sorts right now. While I've gotten as far as to show a div layer at a particular location after clicking an image, I'm not sure how to hide the layer if I click on ANY OTHER part of the webpage. Like a dropdown list works when it loses focus.
I'm trying to duplicate the functionality seen here:
http://demos...
Hello, sorry my question is dumb.
I have a simple css file with class hide, that makes an element hidden (wow!). I use simple javascript to unhide element:
$(document).ready(function(){
var a = $("p.hide");
a.removeClass("hide")
});
It works in Firefox, Chrome, but in Opera and IE I should manualy reload page to see an effect...