Hi All,
I have a very weird issue that I have been trying to resolve for over a week
now with no success in sight.
I use jsp to generate a page of regional information. The regions are
displayed as clickable blocks. On clicking each block a pop-up form opens up
with the corresponding region
Hi karngu, Here is the one of my tab: Can you send me the javascript
to select this tab..
div id=tabs
ul
lia href=#tabs-1 style=font-
size: 12pxAll/a/li
/ul
div
This should work fine
script type=text/javascript
$(document).ready(function() {
$(#directors input[type='checkbox']).click(function() {
$('span.RelStatus').each(function() {
var RelStatusValue =
With pleasure.
My English is not so good,so I paste the code directly:
//copied from http://www.webtoolkit.info/javascript-trim.html
function trim(str, chars) {
return ltrim(rtrim(str, chars), chars);
}
function ltrim(str, chars) {
chars = chars || \\s;
return str.replace(new
well wot I'm doing is an ajax call to retrieve my json data .
then i want to parse it show all the records in the #postContent.
but wot is harder here is the fact that in my jason file there are
three objects at the same time returned by the query.
Posts/Category/Comment
The
Hi all,
Any jquery plugin can check number of word in a string instead using of
.length?...
Many thanks.
Conrad
Excellent, works a treat, thanks Eric...
2009/7/23 Eric Garside gars...@gmail.com
$('.secondLevel').css('width', $('#header').width());
On Jul 23, 1:16 pm, Paul Collins pauldcoll...@gmail.com wrote:
Hi all,
I've got a problem with IE6 and I need to basically find the width of the
you don't need a plugin, this will do it
var string = $(span.string).text();
var count = string.split( );
alert(count.length);
Conrad Cheng wrote:
Hi all,
Any jquery plugin can check number of word in a string instead using
of .length?...
Many thanks.
Conrad
Morning all,
I'm looking for some help with an animation effect and your thoughts
on how best to achieve it. At this stage we simply have a graphical
representation, we can splice the images up any way we like, I'm
really looking for your suggestions.
The first stage is just the basic static
or if you really do want it as a plugin
Plugin:
(function($){
$.fn.stringCount = function() {
var string = this.text();
var count = string.split( );
var result = count.length;
return result
}
})(jQuery);
Use:
$(function(){
alert(
For an app I'm making I have a table with one always visible column, then you
can view 5 more, any extra columns are hidden. The 5 are selectable so that
you can choose which 5 you want to see.
This all works great except that I need to move the columns so that the
order of the columns is the
Hello all,
Below code works well for IE but not for firefox due to newlines
present in the html source.Can anybody help me making this work in
FF.It works well in IE6
html
head
script src=http://code.jquery.com/jquery-latest.js;/script
script
$(document).ready(function(){
Yes, the little treasure is your plug-in!!
Um, I hit a deadend though. But it's not you, it's me! I don't quite
understand where to put this stuff--am I to add it to to this?
$(function(){
$('#alphalist').listnav({
includeAll: false,
cookieName: 'xalpha_list'
});
});
Hello all,
I solved this problem by making a new trigger which I call after moving the
columns around:
.bind(colOrderChanged,function() {
$headers = buildHeaders(this);
var sortList =
Is it as simple to do a letter count?
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf
Of Liam Potter
Sent: Friday, July 24, 2009 6:53 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: How to deterine number of words in a string?
I could see that being VERY slow
$(p).each(function() {
if ($(this).text()=='When the day..believing') {
$(this).replaceWith('spanchota/span');
return false
}
})
would work, but I wouldn't recommend it.
Anyway, why would you want to do this, and how would you
Assuming that people entering the string leave spaces after punctuation
- commas, full-stops, exclamation marks, etc
I've often had to tweak routines like this because people didn't.
Depends on how accurate you need it, though; the code below will be
thrown slightly by dashes, em-dashes
ok sorry for the delay, been kind of busy. Your problem is this ...
the var somevar is defined in the click function and your are trying
to use it in the constructor for the dialog therefore it is out of
scope and not defined. This wouldn't work even if you made the var
global because you must
Thanks for your help
Ok I have a scenario like this -
I have an array with
['spanoriganal html/span' ]['spanhtml to be replaced /span']
This array will be available to me when the page is loaded.
Now I have a HTML page (DOM or DOM container element) in which I need
to search the
Yeah, if you need an all situation plugin there would be a lot more to
add, but if you can guarantee each word will be separated by a space it
will be fine, if not it will just be an approximate number.
you would need to use regex to find all punctuation (except quotations),
check if there is
Ok... I think I got it. I tweaked the addClasses function to eval a list
items attribute instead of the text value. I'm using the attrib LANG for
now. I populate this server side with either the first character of the
persons firstname or lastname depending on what order was selected on the
with the markup like:
prelt;ulgt;
lt;ligt;lt;a href=quot;#quot;gt;Link 1lt;/agt;lt;/ligt;
lt;ligt;
lt;a href=quot;#quot;gt;Link 2lt;/agt;
lt;ulgt;
lt;ligt;lt;a href=quot;#quot;
class=quot;activequot;gt;Link 2.1lt;/agt;lt;/ligt;
lt;ligt;lt;a
sorry the code is
ul
lia href=#Link 1/a/li
li
a href=#Link 2/a
ul
lia href=# class=activeLink 2.1/a/li
lia href=#Link 2.2/a/li
/ul
/li
/ul
On Jul 24, 9:20 pm, iceangel89 iceange...@gmail.com wrote:
with the markup like:
prelt;ulgt;
Links that have inner active links?
$(a:has(ul li a.active)).css(active);
i think that'll work if i understood you right
cheers
Michael Lawson
Development Lead, Global Solutions, ibm.com
Phone: 1-276-206-8393
E-mail: mjlaw...@us.ibm.com
'Whether one believes in a religion or not,
and
hello EE,
the problem here that you have positioned the background 24px from the
top, so the button though looks till the image ends, but the actual
div container which reads the mouseenter and mouseleave ends at the
middle of the button image itself.
as deltaf said, install the firebug add-on
I have tried and contacted www.innovastudio.com about how to load
their Editor dynamically by using jQuery Ajax.I have 3 files:
Default.asp - ajax.js and a request page editor.asp
What I have tried:
By rendering ajax.js in default.asp I try to the load the editor in a
div id=editor/ in
hi guys.
someone have a solution to the following problem?
im using the sortable ui and when i sort some divs (bug is just in ie7
or below, in ie8, ff or somewhere else it works) the dragged div
disappears.
seems is is a sort of render problem cause when i perform a right
click (contextmenu
Hey shaolin,
the better way doing this is using the swfobject script which is much
easier to implement and has better integration with javascript/ajax
interaction with flash.
~nitin
On Jul 24, 12:38 am, shaf shaolinfin...@gmail.com wrote:
Hi Guys
I have some JS that flash cs4 generated
Hi ,
I have problem with Form in HTML .
I cannot access button like this
HTML PART
div id=newsletter class=facebox style=display: none;
form id=myForm class=jqTransform
input type=text name=email id=emaill value=wpisz email
maxlength=50 /
I'm using the validate plugin on a form and in IE when I click right
above the second required field the cursor focus is between the label
and the form field.
It looks like you are typing outside of the form, in between the /
label and input.
I validated the html of the form. It looks like it
I've seen that, but had no idea what caused it. Your help with
localizing the issue is very welcome.
Jörn
On Fri, Jul 24, 2009 at 3:44 PM, jckosjohncar...@gmail.com wrote:
I'm using the validate plugin on a form and in IE when I click right
above the second required field the cursor focus
its because you need to make it live so that when new items with the
same class show up they become sortable. I've never used live with
sortable so you might need to investigate further but I think this
will work
$(.liste_champs)live(sortable, function(){
revert: true,
connectWith:
Hi Everybody,
I was trying to access Digg's search API with $.getJSON as well as
with Twitter and Identica.
Although, the twitter and identica search api are working fine, I have
found trouble when it come to accessing Digg API.
The case in point URL :
I am unsure as to how to make this work.
var params = $('form#createAdjForm').serialize();
var url = ?= $this-url(array('controller'='create-adjustment',
'action'='index'))?;
$('#form').load(url,params);
I want my data POSTed but it is still sent as a get. What am I
Hi there,
I had a form where I need user to input the their birthdate:
select id=sel_dd name=sel_dd
option value=/option
option value=11/option
...
/select
select id=sel_mm name=sel_mm
option value=/option
option value=1Jan/option
...
/select
select id=sel_yy name=sel_yy
option
Hi Mike,
Yes its working now. Now that i understand that part and looked at the
api again i saw:
Get or set the buttons option, after init.
Glad I get that fixed. Thanks for your help!
I think if i play more with jquery things get easier for me to understand.
Carlo
On Fri, Jul 24, 2009 at
Attached an html - that shows my situation...
In the page - clicking on any region opens the pop-up form, and once in a
while after you submit the pop-ups are mixed up, you see Newyork details for
the Washington tab etc. But as soon as I click on the reset button, it
rectifies itself...
Can
I tried to open a iframe with a definite position. Let’s say I have an
iframe like:
iframe id=frame src=http://google.com; width=350
height=350/iframe
And I’d like to scroll at the position X,Y of google page. I tried
scrollTop, scrollLeft and even the plugin scrollTo to no avail. Can I make
Hi Guys
I have 4 scripts I want to load and insert into the html. So the
script should download and insert the first and then the second and so
on. How can I do this in such a order ? From my research it looks like
a queue is the best option for this. Is this true ? If yes, how do I
go about to
Hi Keith,
Glad you like the plugin. I missed your original post, but just spotted
this one. Your change looks good, that's where I would have done it,
too. I'm having a little trouble picturing your use case, though. Do you
have an example anywhere or could you explain it a little bit more?
Like this:
style type=text/css
#alphalist { display:none; }
/style
$(function(){
var clicks = 0;
$('#alphalist').listnav({
includeAll: false,
cookieName: 'xalpha_list',
onClick: function(){
clicks++;
if(clicks == 2){
Test - please ignore
no, I will acknowledge!
anoop wrote:
Test - please ignore
No problem for the delay, thank you for your response.
I may be away for a while but I'll try to test and investigate as soon as
possible.
I will keep you updated.
On Fri, Jul 24, 2009 at 16:16, Mean Mike mcgra...@gmail.com wrote:
its because you need to make it live so that when new items
Hi. I'm using this plugin: http://code.google.com/p/lwrte/ for a
lightweight text editor. I want to be able to submit without a page
reload and I can't seem to figure out how to override whatever code
the author created to disable the value of the text area field unless
the form is formally
Thanks - but if you really should, then please acknowledge my actual posts:
http://groups.google.com/group/jquery-en/browse_thread/thread/130b4df144c2e0b9
I would much appreciate any help you could provide.. :-)
-Anoop
On Fri, Jul 24, 2009 at 12:26 PM, Liam Potter
hi,
I am using column manager plugin, Did somebody use this plugin ?
http://p.sohei.org/jquery-plugins/columnmanager/
I am having a problem when work with nested tables.
I can post a example where I have the problem, if somebody can help
me.
greetings
Thanks for the response and explaining it to me. Alas, I'm not having
any luck. Using your exact example (both CSS and JS), the items
associated with the first navigation item are still being displayed
(the 0-9 option) on initial page load. I even disabled cookies while
testing. :-(
Nevermind. I'm stupid.
Brilliant! Thank you very much for the information and also big thanks
for such a good library )
On 24 июл, 03:54, Michael Geary m...@mg.to wrote:
You don't need to worry about that at all.
jQuery is also licensed under the MIT license, a much more liberal license
than GPL.
Simply use
I've built an expanding HUD control for a map in a project. I've got
it expanding, and, using some code from this group I have it avoiding
the edges of the viewport on first resize. The problem is that it
doesn't seem like an object updates its position when you make it
draggable with the jQuery
Renewind this post. I have the asame problem. If any knows the
solution, please post, or guide to proper answer. Thanks.
I'm hoping someone can help me narrow down the field
according to these priorities...
Stability Well-formed XHTML
Inplace editing
Good AJAX integration
For internal / admin / CMS usage so size doesn't matter
Only need the basics:
bold
ital
indents
lists
No need for tables but dropdowns
According to the documentation for $.load:
http://docs.jquery.com/Ajax/load
if you pass in any extra parameters in the form of an Object/Map (key/
value pairs) then a POST will occur. Extra parameters passed as a
string will still use a GET request.
Using serialize() will pass the data value in
If the body of the page on which the modal window overlays is shorter than
the dialog window, itself,
then the overlay is cutoff. I want the overlay behind the modal window to
extend beyond the window
even if the body of the document is shorter than the modal dialog.
Make sense?
Rick
Steve Hueners wrote:
I'm hoping someone can help me narrow down the field
according to these priorities...
Stability Well-formed XHTML
Inplace editing
Good AJAX integration
For internal / admin / CMS usage so size doesn't matter
Only need the basics:
bold
ital
indents
lists
No need for
I have some sortable div containers numbered 1 to 5. I would like to
keep the input boxes in order (1 to 5) even while dragging and
resorting.
I've made code to plus/subtract upon a rearrange and that works if
used properly. If you drag violently though, you can get the order
out of whack.
Anyone have any idea about this?
I thought about perhaps determining the height of the modal window and then
comparing
it to the body height and using whichever is greater as the overlay
height.is that possible with js?
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com]
Hi ,
Am doing one support ticketing systems,
user submit his problem through form ,
my task is after submitted , i want to send his ticketID . to his mail , for
track the supprt request ,
The ticket ID not and sequential order , its random order ,
So my idea is we write one mail function ,
59 matches
Mail list logo