hsfrey ha scritto:
function togl(b1) {
var t1 = document.getElementById(b1).getElementsByTagName("input");
var labl = t1[0].value;
t1[0].value = labl=="Hide"?"Show":"Hide";
...
}
In addition, rather than just Match the ID, I want to match the ID
which ENDS in the stri
Let me rephrase my problem.
$.post('a.htm', $('#formId').serialize(), function(data) {
// data is a json string
// I don't know anything about the keys used in that json string, i.e.
that string can be
// '{"name": "James", "age": 27}' or can be '{"title": "jQuery", "year":
2009, "mont
On Oct 8, 2009, at 8:48 AM, webdesignamite wrote:
SO, WHAT IM TRYING TO FIGURE OUT IS HOW DO I REFERENCE THE NEXT
ELEMENT WITH CLASS OF .CLEAR FROM MY PARENT ELEMENT -
this gives me the id of the next element with respect to parent (for
trial and error purposes, ive given all of my .cleared cl
I am VERY new to this, and have been having a lot of fun putting
together my first web site, but I cannot for the life of me figure out
how to make the menu items of the basic suckerfish ("http://
users.tpg.com.au/j_birch/plugins/superfish/#examples") all be the same
width, AND have them go across
Your welcome!
Envoyé de mon iPod
Le 2009-10-08 à 22:57, hsfrey a écrit :
>
> Giovanni:
>
> Thank you for your response.
>
>> I can't understand what value are you looking for, but should be
>> something link $('#id').val() or $(this).val().
>
> I'm trying to get the jQuery code to replac
I have the following lines on my main HTML page:
The problem is that although I see input type=file control, I don't
see associated list of file names below, so I cannot attach many
files.
Please help.
Giovanni:
Thank you for your response.
> I can't understand what value are you looking for, but should be something
> link $('#id').val() or $(this).val().
I'm trying to get the jQuery code to replace this JS which works to
toggle the label:
function togl(b1) {
var t1 = document
I'm not sure if this is a trick question or not...
// if logging out
$("#LoggedIn").hide();
$("#LoggedOut").show();
On Oct 8, 4:19 pm, Painstik wrote:
> Hi everyone, I can't get this out, i searched everywhere and didn't
> find solution...
>
>
>
> method="post" id="signin" on
Hi everyone, I can't get this out, i searched everywhere and didn't
find solution...
%%GLOBAL_LoginMessage%
%
Email
Lozinka
Hi,
Im pretty naf and need some help..
I need some help changing the colour and size of my nav bar..
Any help would be greatly appreciated
My website is crankthesteza.org
Thanks heaps
scott
Hi
I've applied a png fix to my jsquery.
The problem i have now that its conflicting with my code for
rollover. Can someone please guide me and tell me how i can make it
work for both instances ie. my input buttons and rollover classes
using png, gif and jpg.
So this is my markup.
and this i
On Thu, Oct 8, 2009 at 5:10 PM, Wacko Jacko wrote:
>
> Hi There. Yeah, just did. Thanks for that!
>
> Why does my test using the same code not work :(
>
> http://www.noosabiosphere.org.au/tester.htm
>
Viewing the source, that isn't empty. it's got whitespace characters
(spaces and/or tabs
Hi
I had it all working and now its not :(
My problem now lies with the hovering over my 2 classes
ie. .LPButton,.CatMoreBtn > its just not hovering! and i'd like to
make this work for me so i can have not only png's rollover but, gifs
and jpgs but i have no clue where to put the additional code
Thank-you :)
I'm doing it now :)
Jess
On Oct 8, 5:42 pm, HS8KIC wrote:
> jessie wrote:Is there such a thing as a jquery ui plugin for png? JessI found
> one but has never test it you can
> try.http://jquery.andreaseberhard.de/pngFix/
> Aom.
Failing to run the document ready functions is a bug in jQuery 1.3.2 that is
fixed in the current svn. It now calls document.ready listeners even if you
load jQuery and subsequent document ready functions dynamically.
At least I *assume* that it's a bug that was fixed, and not just an
accidental i
Hi There. Yeah, just did. Thanks for that!
Why does my test using the same code not work :(
http://www.noosabiosphere.org.au/tester.htm
On Oct 9, 8:46 am, Charlie wrote:
> did you look at the working example on jsbin where the li is being hidden?
> Wacko Jacko wrote:Thanks Bohdan. Tried th
> If you have a JavaScript object, one easy way to view it is to load your
> page in Firefox with Firebug installed, and then add this line to your code:
>
> console.dir( yourObject );
>
I hope it goes without saying is that what I really meant is to add that
line of code first and *then* load you
I assume that what you mean is you have the actual JavaScript *object*, not
a JSON string that represents the object, right?
If you had a JSON string, you could just look at the string to see its keys
and values. Or you could paste it into www.jsonlint.com to pretty-print it.
If you have a JavaSc
Hi Ryan,
The reason you are having problems is likely due to the way jQuery
determines DOM readiness. As noted above, if functions are passed to $
() or $(document).ready() after the DOM has loaded, they are executed
immediately. This produces the behavior you are expecting. But when
jQuery loads
And to explain why that makes a difference, when you use a string in
setTimeout it evaluates the code in the global context - as if it were
outside all your functions. So the timeout code can't see the tabLink
variable.
Using a callback function takes care of that, since a nested function can
acce
Try:
setTimeout(function() {
playGlobalNewsFn(tabLink);
return false;
}, timeLag);
On Oct 8, 8:47 am, vmrao wrote:
> I have the following code. I am getting an error in the setTimeout
> function, "tabLink" is undefined. Not sure what am I doing wrong.
>
> function playGlobalNewsFn(obj)
var tabId = $("#tabPanel2 ul li a[onclick*="+newsCookie+"]").attr
('id');
Whether the actual selector works or not, I'm not sure.
On Oct 8, 11:38 am, vmrao wrote:
> I have the following code.
>
> var newsCookie = readCookie('newsTabCk');
> var tabId = $("#tabPanel2 ul li a[onclick*=newsCookie]"
> I only set settings.buttons["Ok']. Somehow extend() causes this
> behaviour can anyone explain why?
Sounds like you wanted the "deep" option. Otherwise your nested
objects won't be duplicated, just copied as object references.
http://docs.jquery.com/Utilities/jQuery.extend#deeptargetobject1obj
I'm very new to HTML and CSS and currently, I'm using the superfish
module in joomla and i gotta say it works great but i have a problem:
When a menu item is selected, it becomes grey. How do i change that?
I've looked thru the CSS sheet over and over and can't figure it out.
I managed to adjust
Run this code :
var empty = {};
var defaults = { validate: false, limit: 5, name: "foo", buttons :
{}};
var options = { validate: true, name: "bar"};
var settings = $.extend(empty, defaults, options);
settings.buttons['Ok'] =
function()
{
alert( "TEST");
};
After running th
To get this to work, simply do not specify class="multi" within the
input tag.
The $("#id").MultiFile({ ... }) function will initiate the field as a
MultiFile with the parameters given.
I have the following code.
var newsCookie = readCookie('newsTabCk');
var tabId = $("#tabPanel2 ul li a[onclick*=newsCookie]").attr('id');
In the second statement above, newsCookie is being considered as text
rather than a variable. What should be done to consider newsCookie as
a variable rather
I need put a video (preference "flv") in a non-obstrusive pop-up.
Anyone knows a plugin for this?
Thanks,
Celso
I'm trying to make it so I can drag a square which is confined to
0,0,50,0. When they stop dragging it I simply want to change the
confinement to 0,0,100,100 the next time they drag. Not sure why it
doesn't work though.
Here is the code:
Code:
[code]
http://jqueryui.com/latest/
jquery-1
I have the following code. I am getting an error in the setTimeout
function, "tabLink" is undefined. Not sure what am I doing wrong.
function playGlobalNewsFn(obj) {
obj.click();
}
$('#playGlobalNews').click(function() {
var timeLag = 1000;
$("#tabPanel2 ul li").each(function()
Hi everybody,
Supposed that I have a json object but I don't know anything about its keys
and values. Is there anyway to print out all the key and value pairs in that
object?
Thanks.
did you look at the working example on jsbin where the li is being
hidden?
Wacko Jacko wrote:
Thanks Bohdan. Tried that first. No luck. As I said, it will work if
the parent is a div, but not if the parent of the div is an li.
Thanks again. Jack
On Oct 8, 5:56 pm, Bohdan Ganicky wrote:
can you post a link?
sso wrote:
I'm using superfish menu.
I haven't modified the style sheets at all.
My document passes wc3 validation with no errors or warnings.
This is the structure of my html
.
body
{
text-align:center;
background-color:Black;
}
#wrapper
{
width:
taking a stab at this, code seems quite strange to me
First- check your context of "this" , in your span.hover you have a
"this" looking for a child of the span that is a UL
sildedown().show() - not necessary, slidedown already takes a hidden
element and "shows" it
the css keeps functionin
Thanks Bohdan. Tried that first. No luck. As I said, it will work if
the parent is a div, but not if the parent of the div is an li.
Thanks again. Jack
On Oct 8, 5:56 pm, Bohdan Ganicky wrote:
> Hi,
>
> use .parent() instead of .parents()
>
> http://jsbin.com/isasi/
>
> --
> Bohdan
>
> On Oct 8
A lot of people have been asking for an example of how to use
SlickGrid with remote data stores. I've just added a new sample page
that does just that:
http://slickgrid.googlecode.com/svn/trunk/examples/example6-ajax-loading.html
The page will pull all Apple-related stories from Digg.com and di
I'm using superfish menu.
I haven't modified the style sheets at all.
My document passes wc3 validation with no errors or warnings.
This is the structure of my html
.
body
{
text-align:center;
background-color:Black;
}
#wrapper
{
width: 800px;
text-align:left;
margin: 0
you can read about it herer http://docs.jquery.com/Plugins/Validation/validate
select options, there is a code example there.
On Oct 8, 6:11 pm, Miguel Simões wrote:
> Is there any information about that function? I was looking at the code and
> didn't find any reference to that function.
>
>
>
if the data is on the form {"result":true} you can use var returnObj
= JSON.parse(data) if you use http://www.json.org/json_parse.js and
return returnObj.result
you can also use
regards,
Bjarki Heiðar
On Oct 7, 9:13 am, zeussolo wrote:
> Hi all,
>
> I would like to use the remote method to do
No problem. :)
For the blank, you can change it like this:
partNum[i] = escape( parts[0] || 'Unspecified' );
qty[i] = escape( parts[1] || 1 );
Then it'll use 'Unspecified' or 1, respectively, if they're blank.
On Oct 8, 6:09 am, "robert...@gmail.com" wrote:
> Thanks again to James
>
>
Hi Doug,
yes, I am sure the data loads correctly, as this post call is
requested once you select an option in a select list.
I have an alert message just before the post call and I can see the
'selected_data' parameter.
In fact, as I have said, the request is well done, as the server sends
the ou
Hi David,
Do you have your call inside a $(document).ready? It may be that in a high
bandwidth environment your data loads completely before your call is triggered,
whereas in a low bandwidth environment your page has the chance to finish
loading before the data makes it to your call.
My two c
Hi,
I have a problem with an AJAX call. It's a long time since a got it. I
don't know how to deal with it. I have made tests and I don't know why
it's happening.
I have a post AJAX call. Just like next one:
$.post(MY_SCRIPT, { db_id: selected_data},
function(data){
Is there any information about that function? I was looking at the code and
didn't find any reference to that function.
On Thu, Oct 8, 2009 at 01:58, Bjarki wrote:
>
> Hello Miguel,
>
> for part 3, you can use errorPlacement like this.
>
> errorPlacement: function(error, element) {
>
I am new to jquery(my first application!) and I am using the
fantastic validate plugin. I am calling a dialog from a tab and
although the validation works perfectly if you keep accessing the
dialog window after about 4 times it causes internet explorer to
display the 'Stop running this script me
Thanks for the reply.
I discovered the answer. A silly mistake actually. The AutoComplete
parameter is "q". ASP.NET MVC Routes needs an exact parameter name
match on the server side method. I was using the word "filter"
instead of "q", so ASP.NET MVC passed in null to the server method.
Mark
Give this a try:
jQuery.ajax({
type: 'POST',
url: 'emaildocument.php',
data: { user: "test", file: "horse.jpg" },
cache: false,
complete: function() {
// unblock when remote call returns
jQuery.unblockUI();
}
});
On O
You should should the specific $.post() code in detail, there's
something you are missing because when you get back from the async
call, everything (global variables, page objects) are fully available
at that point... there's zero need to use setTimeout
On Oct 8, 12:27 pm, Adonis wrote:
> D
I thought I could get this working with my first UL, doesn't seem to
be
cooperating very much though. Anyone mind helping me find out how
to add the ability to traverse up to four tiers? Much MUCH
appreciated!
[code]
$(document).ready(function(){
$("ul.subnav").parent().append(""); //Onl
Dan,
I used a $.ajax() call with a callback -> success: function(msg) etc.
but still it does not work the way I want to.
from the server side i am using,
*
return render_to_response("blah.html",{ 'project_id':project_id },
context_instance = RequestContext(request))
*
putting the project_id in a
> I don't have time to put a real test-case together right now, but just
> on the off chance that someone's experienced the same class of
> problem:
>
> I'm using jquerycyclelite (http://malsup.com/jquery/cycle/lite/) to
> animate a set of linked images. An ancestor element has padding, but
> the
@Dave
> If this problem has a good fix, it should be fixed. There are several
> cases that will break differently in IE when this proposed fix is
> applied. It's not achieving consistent cross-browser behavior. There
> may be a solution out there still, and if someone has one they should
> post it
Thanks again to James
Figured this easy one out myself:
just changed:
for (var i in rows) {
var parts = rows[i].split(' ');
partNum[i] = escape( parts[0] );
qty[i] = escape( parts[1] );
if(qty[i]=="undefined"|qty[i]==""){qty[i]= 1};
}
On Oct 8, 9:12 am, "robert...@gmail.c
> it'll just keep creating new elements in the DOM. So I was wondering
> if there's a way to remove elements from the slideshow while it's
> running?
No, there is no direct support for that in the plugin, short of
stopping, manipulating and restarting the slideshow.
hi, im quite new to jquery and am becoming ever more impressed by its
power, alas ive no idea how to harness this power yet so please help.
i have dynamicly loading pages with up to 4 floated columns in each,
the height of these floated columns varies, and what im doing is
adding a div with class
Hi,
I'm using this code:
jQuery('#sendemail').click(function() {
// update the block message
jQuery.blockUI({ message: "Remote call in progress..." });
jQuery.ajax({
type: 'POST',
url: 'emaildocument.php',
Hi Folks,
it is possible to combined the autocompleter with the tooltip plugin?
I must call " $("#tooltip").tooltip({ track: true, showURL: false });"
to acticate the tooltip BUT i dont have the "onComplete" or "onReady"
Event on the autocompleter. ;(
Or is the the wrong way ?
Thx
Joe
I have a php page that is leaking pretty bad. I'm not sure if this
belongs in this group or the php one but I don't think it's the php
that giving me problems. I've tried to use tools like drip and sieve,
and even just the task manager, to help narrow the problem down, but
I'm not exactly sure how
I've found a way around this by keeping a separate list of all the
slides and add the necessary ones before the slideshow ends with the
addSlide method. This works fairly well, but there's an issue because
it'll just keep creating new elements in the DOM. So I was wondering
if there's a way to r
Hi,
I have a problem with the superfish menu if it's longer than the
overall page width. If the menu is longer than the page width, some of
the mainmenu points are placed on the second line under the other menu
point. This behaviour is really ok and expected for my needs. But if i
hover over a ma
Are you using firebug or another Developer Console like program to see
what request the AutoComplete is sending out?
it should be something like
http://yourwebsite/Serice/AutoComplete.ashx?q=foo&limit=10×tamp=1255013315384
And all values can be accessed in ASP.NET via Request.QueryString, key
"
adjust sfHover. class that is active when subs are open
dieter wrote:
up ?
On Oct 7, 12:49 am, dieter wrote:
Hi all,
I have installed Superfish menu module with Joomla ..
Customization work more less fine ...
I still have tenious problem like :
- How to have
Just in case this would be useful for somebody else, I solved it by
using live( type, fn ) event.
Regards
On Oct 7, 9:46 pm, LReyesD wrote:
> Hi,
>
> I'm new to jQuery and I'm using the autocomplete pluggin. So far it
> works great, but I wonder how I can autocomplete a newly input added
> dyna
click function for open/close is not supported. If you do a search in
this group you will find some patch code that isn't complete but others
claimed worked in their application
Spencer wrote:
I am using superfish and I am wondering how I can go about changing
the hover event to click so t
Is it possible to somehow catch event, if it's propagation was
stopped?
$('span').click(function(e) { e.stopPropagation(); });
Maybe there are some kind of global handler? Like:
Event.registerHandler('click', function(e) { alert('thanks'); });
There should be no additional code for regular han
James - This is great!!! - thanks so much for the example.
I am posting your code it here for reference...but I have one
additional question.
I noticed that if the user puts a space after the part number but no
qty, then the querystring returns nothing.
If the user puts nothing after the part nu
Rob,
Point taken about using onLoad for a script tag possibly not being
supported. In this case however that part of the code is working fine.
The issue I am having is related to jQuery being added to a page after
the page has completed loading. When this happens ready listeners are
never execute
Adonis,
The $.post() function is asynchronous (by default) when your code hits a
$.post() call, it'll keep executing code. In order to do something with the
results of your AJAX call, you'll want to use the callback option--which is
a function run when the AJAX call is completed.
-Dan
On Thu, Oct
> But that's the issue, It's way way waaay too late at this point, as
> the document was "ready" (and fired that event) once the HTML was sent
> to the browser and ready for DOM manipulation, which was forever ago
> at this point (right from the docs: "Binds a function to be executed
> whenever th
hi all,
I am using asp.net to display the tooltip pop-ups. We have a
scenario to display the tooltip, onclick of radiobutton. We are using
one more aspx page to display the tooltip. So, onclick of the
radiobutton, the tooltip will be displaying in new aspx page as a
popup. But, in the tooltip p
We have wholesale brand name bag, if you need to take a look at our
store, you must have a satisfactory bags, bring us a package, make you
more elegant and stylish If you want to buy the best package to our
house to see , you must have a satisfactory
wholesale chanel handbag gucci coach Lv dior h
jQuery 1.3 works fine in FF 2.0+ and partially in 1.0.x and 1.5.x - is
there a list of functions that fail with these old browsers?
Even an incomplete one would make it easier to go around the problems.
I know, users should upgrade their browsers, FF 1.0.x and 1.5.x is
ancient history, etc, but:
Hi,
I'm using the AutoComplete Plugin with ASP.NET MVC. For some reason
the client side input value is NULL when it reaches the Server method.
Any suggestions would be appreciated.
Thanks,
Mark
Hi,
I'm new to jQuery and I'm using the autocomplete pluggin. So far it
works great, but I wonder how I can autocomplete a newly input added
dynamically by innerHTML. It seems this new input element is not being
recognized as is not firing the event.
Thanks for any clue.
jessie wrote:
Is there such a thing as a jquery ui plugin for png?
Jess
I found one but has never test it you can try.
http://jquery.andreaseberhard.de/pngFix/
Aom.
Could someone please tell me how I can reference the loading div to
change the background color?
Many thanks
I am not entirely sure if i am using proper definitions here, but here
it goes..
I have $.post() inside javascript functions. If ajax is successfull,
it returns data from the server. I am trying to assign this data to
javascript global variables. The problem is that my global javascript
variable
up ?
On Oct 7, 12:49 am, dieter wrote:
> Hi all,
>
> I have installed Superfish menu module with Joomla ..
>
> Customization work more less fine ...
> I still have tenious problem like :
>
> - How to have the main menu with the active color, when one of the sub-
> menu has been actived ?
>
> - H
they are Magento which includes this zoom feature, but it's based off
prototype. I'm sure there is an equivalent plugin for jquery...
maybe you can start looking here: http://www.mind-projects.it/projects/jqzoom/
On Thu, Oct 8, 2009 at 1:43 AM, Ado wrote:
>
> Does anybody know of a jQuery plugi
Does anybody know of a jQuery plugin that can do something like this:
http://www.endclothing.co.uk/catalog/product/view/id/5599/s/nike-leather-blazer-vintage-pre-order/category/4/
Im at a dead end.
Thanks,
A.
Hi,
use .parent() instead of .parents()
http://jsbin.com/isasi/
--
Bohdan
On Oct 8, 6:17 am, Wacko Jacko wrote:
> I am having a bit of trouble with this one. Thanks for your help. I
> could get it working if the parent is a but not if it's an .
>
> Here's my html:
>
>
>
> W
Just in case someone needs something similar, here's the solution:
$(document).ready(function(){
var contentLength = 7;
var groupCount = 1;
var totalDivContent = "";
var elementCount = 0;
var playlistContentBuilderSearch = "";
for(var i=0;i
82 matches
Mail list logo