Thank you Andrei!
Nice and simple, very well!
Andrei Eftimie wrote:
script type=text/javascript id=demoscript
$(function(){
if (document.location.href.indexOf('showdiv=yes') 0)
$(#display).show();
});
/script
On Sat, Feb 13, 2010 at 5:37 PM, dikker
Hi all,
I'm an absolute beginner in JQuery, and i need your kind help on
this...
i have an mvc project in asp.net, visual studio 2010
i added the jquery.js and jquery.flot.js files in the master page,
then i went to HomeController.cs and wrote the following method:
public ActionResult Example()
How do i show a input field only when a certain option is selected?
and hide if it isn't selected
regards
Hi
How do i populate dropdown menuB depending on the selected option in
dropdown menuA??? I am parsing the menu data from a mysql db with php??
this is what i have now
$('#numOfHours').hide();
$('#type').change(function() {
if($('#type :selected').text() == parttime) {
$('#numOfHours').show();
} else {
$('#numOfHours').hide();
}
On Feb 17, 2:08 pm, 123gotoandplay wesweatyous...@gmail.com
solution:
$('#type').change(function() {
if($('#type :selected').val() === parttime) {
$('#numOfHours').show();
} else {
$('#numOfHours').hide();
}
})
maybe something like this?
$(function(){
$('#type').change(function(){
var selected = $(this).children().filter(':selected');
if(selected.val()=='parttime'){
$('#numOfHours').show();
}else{
$('#numOfHours').hide();
}
});
});
This is
Hi!
If i have a file upload input in my form, after submit the html codes
in the response data converted to their entities:
http://bogex.hu/jquery_upload_test.php
How can I prevent this?
Thank you!
Lay
Are you using a Php framework? If so, does it do output filtering? If
not, can you show me your Php code?
Randy
2010/2/17 Lay András laysoftjqu...@gmail.com:
Hi!
If i have a file upload input in my form, after submit the html codes
in the response data converted to their entities:
Greets.
While upgrading from jQuery 1.2.6 to 1.4.1 I encountered a problem with
some of the JSON data returned to my application. According to json
lint, it was well formed data but was producing an error. The problem
was tracked down to the JSON.parse() function in FF 3.5.7 on Linux x86.
The
Hello!
On Wed, Feb 17, 2010 at 5:56 PM, Randall Morgan rmorga...@gmail.com wrote:
Are you using a Php framework? If so, does it do output filtering? If
not, can you show me your Php code?
It's a simple PHP code, without any framework. The source code
visible, you can simply copy, and check it
A couple of things to try. First, run phpinfo() and look through the
output for anything that could be filtering the output.
Second, try using double quotes or echo or print() in place of die()
and follow with exit.
die() does not escape html (at least not on my servers) so I suspect
that
I'm trying to retrieve the current font from an element that is within an
iframe... unsuccessfully.
From within the document itself I can retrieve the font just fine using the
following:
$(document).ready(function(){
var getFontFamily = $(#get_font_of_this).css(font-family);
You may want to remove the $header method. PHP should send the
content-type text/html header by default.
Randy
On Wed, Feb 17, 2010 at 11:41 AM, Randall Morgan rmorga...@gmail.com wrote:
A couple of things to try. First, run phpinfo() and look through the
output for anything that could be
does every browser do that?
jordanrynard wrote:
I'm trying to retrieve the current font from an element that is within an
iframe... unsuccessfully.
From within the document itself I can retrieve the font just fine using the
following:
$(document).ready(function(){
var
I didn't see you posted azn example page. When testing it, I found that
both Opera and Chromium returned the correct thing but they format it
differently. Opera alerts Comic Sans MS [microsoft]. I actually like
how Opera alerts the font you're actually using instead of the whole
font stack,
16 matches
Mail list logo