[jQuery] Append Variable to Select box
I have the following function that should append or prepend a dynamic value to a select with id #px. The dynamic value is not in the select DOM from the start so I have to append it to make it work. The problem is that the new created value is not shown until I click on the select dropdown, the DOM does not generate that value until I click and drop down the list. What should I do? This is my code: $(document).ready(function() { $(this).bind('click', function(event, ui) { var fresizeSize = $('.cica').css(font-size); var fresizeSizeNOPX = $('.cica').css(font-size).replace(/[^0-9]+/ g,''); var newTr = 'option class=option value=' + fresizeSize + ' label=' + fresizeSizeNOPX +'' + fresizeSizeNOPX +'/option'; $('#px').prepend(newTr); $(#px).val(fresizeSizeNOPX); }); }); Thank you.
Re: [jQuery] multiple file upload
Hei! Thanks for your swift answer. In java to get the entire local path, i found out there is a deprecated method request.getRealPath() that solves my question. Thank you and fun coding! On Mon, Jan 25, 2010 at 4:43 PM, sourabh sharma sourabh47mca...@gmail.comwrote: Actually when we uploading the file at that time we are getting the name of the file as well as tmp name of the file. So as per my knowledge we can only get the name of the file. I am not sure we will get the exact path of the file Thanks Sourabh Sharma www.avideogame.com On Mon, Jan 25, 2010 at 9:03 PM, andreea andreea.oschanit...@gmail.comwrote: i would like to get the path of the file when i select it for uploading, not only the final name (stored in v). How do i get the entire path of the file? thank you http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Overview
Re: [jQuery] multiple file upload
thats good news Thanks Sourabh Sharma www.avideogame.com On Tue, Jan 26, 2010 at 5:02 PM, andreea oschanitzky andreea.oschanit...@gmail.com wrote: Hei! Thanks for your swift answer. In java to get the entire local path, i found out there is a deprecated method request.getRealPath() that solves my question. Thank you and fun coding! On Mon, Jan 25, 2010 at 4:43 PM, sourabh sharma sourabh47mca...@gmail.com wrote: Actually when we uploading the file at that time we are getting the name of the file as well as tmp name of the file. So as per my knowledge we can only get the name of the file. I am not sure we will get the exact path of the file Thanks Sourabh Sharma www.avideogame.com On Mon, Jan 25, 2010 at 9:03 PM, andreea andreea.oschanit...@gmail.com wrote: i would like to get the path of the file when i select it for uploading, not only the final name (stored in v). How do i get the entire path of the file? thank you http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Overview
[jQuery] Re: jQuery now integrated into Visual WebGui web/cloud platform
So, that means, you say, you are one step ahead in visual development aids than Microsoft, but still you are building your tool on Microsoft's tool jQuery! Am I right? On Jan 26, 12:47 am, visualwebgui navot.pe...@visualwebgui.com wrote: That is a very good question, thank you for asking. I am not objective nor do I pretend to be. I am one of the creators of Visual WebGui. What we had in mind is not creating a visual programming that MS offers, but simplifying a complex multi languages and methodologies process. With Visual WebGui you develop like you develop DESKTOP application. Fully object oriented, you do not have to bother with session management nor do you have to deal with the response and request or Ajax call or security. It is all handled for you by the framework itself. But why believe me, there are tens of thousands developers that already use VWG, some of their experience can be viewed HERE On Jan 25, 2:19 pm, MISS_DUKE siva...@gmail.com wrote: Microsoft is providing a proper visual environment, then WHY should we need this Visual WebGui??!! On Jan 25, 2:57 am, NCSM chaba...@gmail.com wrote: Gizmox, the developer of Visual WebGui web/cloud applications platform announced the release of its Visual WebGui 6.4 beta 1 version, with expanded capabilities that include the integration of the jQuery library for faster behavior customization and user interface extension. This enables developers to create Web 2.0 user interfaces (UI) in a more expedited and easier manner. In addition, the integration allows jQuery developers to offer a path empowering the jQuery based UI, while maintaining the Visual WebGui server power and security which are vital for data secured – sensitive applications. With the original VB6 like drag and drop development practices that earned Visual WebGui its popularity as an open source enterprise .Net Ajax platform, the new version lends its simple VB6 like web development empowerment to jQuery developers. In addition, Visual WebGui developers will be able to develop applications using full object oriented environment by utilizing the power of the server and at the same time to write extensions using one of the most popular client side frameworks. After a year of getting feedback from users of our free open source versions, we’re testing the waters with this first fully featured commercial beta version, which will enhance functionality by offering users enhanced features, better documentation, performance and better UI customization,” said Navot Peled, CEO of Gizmox, the parent company of Visual WebGui. “And more importantly, we’re fully confident that developers will utilize the integration of jQuery in our solution to reduce Java Script customization headaches.” The new 6.4 beta 1 version had also gone through intensive infrastructure optimization in order to enhance Visual WebGui’s performance, interactivity and scalability to serve multi simulations users. This version is the first fully featured Visual WebGui version, which is going to go live as the first fully featured commercial version. 6.4 beta downloads are available atwww.visualwebgui.com-Hide quoted text - - Show quoted text -
Re: [jQuery] New Forums
I was able to use my Google account to logon and didn't have to supply any info. I also haven't received any emails. When I click the Login button, below the Username and Password fields are other options for logging in, either a Google account or a Yahoo! account. It also looks like a Google Apps account. Hope this helps, Joe Moore On Thu, Jan 21, 2010 at 7:28 PM, Shawn sgro...@open2space.com wrote: My apologies to the list managers. I did not mean to belittle their efforts in any way. I only meant to state that for me, personally, forums are not the preferred tool. I am involved in a number of organizations where the main mantra is the concept of a do-aucracy. If you think it should be done a particular way, do it. For this list, this means that the list managers have DONE it, and so they get to make the rules. I don't pretend to know all the considerations that went into the choices that were made. But, I find it unacceptable that I have to give my contact information to zoho.com so that I can use a forum on jquery.com. (as suggested by Andre in a different posting on this thread). For some reason it is deemed ok for our account info (and everything related to it) to be accessible by absolute anyone. Whether it is a FaceBook account, a GMail account, etc. I have put the brakes on for this trend and refuse to give my information away to third party sites that have nothing to do with what I'm trying to do. No offense intended to the zoho gang, as I do not know them or their intentions/purposes. But I'll just say no. My thoughts. Shawn Shawn wrote: I received this email as well. I don't know if it is legitimate or not tough. Nor do I care. Web based forums DO NOT WORK for my needs. I cannot do a quick scan of topics in a forum without first opening a browser and going to that forum. Whereas with an email list, I scan my email frequently during the day as part of my usual routine. So, if the mailing list is to disappear, I for one will not spend t much effort trying to replace it with a web forum. I can always use the IRC channel when I need assistance. To be fair though, I can see why there would be a desire to shift away from Google Groups. I will likely take a look at the forum to see what's what, but doubt it fill my needs. Still, there are other alternatives than a web forum (i.e. mailman). My thoughts. Shawn Matt Quackenbush wrote: Hello, I received an email inviting me to join the new jQuery forums. It contained a username and password for me to use. However, when I try to login, I am told that my email address has not been confirmed and therefore cannot do so. A link to a help page is given whereby I can allegedly have a confirmation email sent by following a list of instructions. Interestingly enough, the very first step given in the instructions is to login. I thought that perhaps I would be able to do so at the link given, but alas an attempt to login there results in the exact same message and help link being presented. Any suggestions on how to actually login/activate would be appreciated. :-)
[jQuery] Re: Append Variable to Select box
on issue you have is in one place you seem to have a variable names fresizeSizeNOPX then later on you have $(#px).val(fresizeSizeNOPX); which is a string value, not the value of the variable you used earler second issue, or confusion, what do you think or want this to be in the selector: $(this).bind('click', function(event, ui) { On Jan 26, 6:10 am, Mircea i...@amsterdamsat.com wrote: I have the following function that should append or prepend a dynamic value to a select with id #px. The dynamic value is not in the select DOM from the start so I have to append it to make it work. The problem is that the new created value is not shown until I click on the select dropdown, the DOM does not generate that value until I click and drop down the list. What should I do? This is my code: $(document).ready(function() { $(this).bind('click', function(event, ui) { var fresizeSize = $('.cica').css(font-size); var fresizeSizeNOPX = $('.cica').css(font-size).replace(/[^0-9]+/ g,''); var newTr = 'option class=option value=' + fresizeSize + ' label=' + fresizeSizeNOPX +'' + fresizeSizeNOPX +'/option'; $('#px').prepend(newTr); $(#px).val(fresizeSizeNOPX); }); }); Thank you.
[jQuery] Re: jQuery now integrated into Visual WebGui web/cloud platform
What a poor marketing-oriented post... First off, you seem to make the assumption that anyone using MS's tool is knee deep in session management and security. *they're not*, as the baked in Profile, Roles, and Membership objects all take care of that, and once they are setup, a single line in the configuration can protect a file, folder, the whole app. using the last two versions of studio is like developing DESKTOP applications, but for the web, so I'm not sure what that line of marketing-speak is supposed to make your product look any better. On Jan 25, 2:47 pm, visualwebgui navot.pe...@visualwebgui.com wrote: That is a very good question, thank you for asking. I am not objective nor do I pretend to be. I am one of the creators of Visual WebGui. What we had in mind is not creating a visual programming that MS offers, but simplifying a complex multi languages and methodologies process. With Visual WebGui you develop like you develop DESKTOP application. Fully object oriented, you do not have to bother with session management nor do you have to deal with the response and request or Ajax call or security. It is all handled for you by the framework itself. But why believe me, there are tens of thousands developers that already use VWG, some of their experience can be viewed HERE On Jan 25, 2:19 pm, MISS_DUKE siva...@gmail.com wrote: Microsoft is providing a proper visual environment, then WHY should we need this Visual WebGui??!! On Jan 25, 2:57 am, NCSM chaba...@gmail.com wrote: Gizmox, the developer of Visual WebGui web/cloud applications platform announced the release of its Visual WebGui 6.4 beta 1 version, with expanded capabilities that include the integration of the jQuery library for faster behavior customization and user interface extension. This enables developers to create Web 2.0 user interfaces (UI) in a more expedited and easier manner. In addition, the integration allows jQuery developers to offer a path empowering the jQuery based UI, while maintaining the Visual WebGui server power and security which are vital for data secured – sensitive applications. With the original VB6 like drag and drop development practices that earned Visual WebGui its popularity as an open source enterprise .Net Ajax platform, the new version lends its simple VB6 like web development empowerment to jQuery developers. In addition, Visual WebGui developers will be able to develop applications using full object oriented environment by utilizing the power of the server and at the same time to write extensions using one of the most popular client side frameworks. After a year of getting feedback from users of our free open source versions, we’re testing the waters with this first fully featured commercial beta version, which will enhance functionality by offering users enhanced features, better documentation, performance and better UI customization,” said Navot Peled, CEO of Gizmox, the parent company of Visual WebGui. “And more importantly, we’re fully confident that developers will utilize the integration of jQuery in our solution to reduce Java Script customization headaches.” The new 6.4 beta 1 version had also gone through intensive infrastructure optimization in order to enhance Visual WebGui’s performance, interactivity and scalability to serve multi simulations users. This version is the first fully featured Visual WebGui version, which is going to go live as the first fully featured commercial version. 6.4 beta downloads are available atwww.visualwebgui.com-Hide quoted text - - Show quoted text -
[jQuery] Re: Append Variable to Select box
Thanx for the solution MorningZ. I had changed the this with the actual span class and it works now. Thank you.
[jQuery] Removing percentage after dot - font-size: 30.6207px
I have a slider that sets my CSS font-size to a value. The value itself is accepted by CSS buy I would like to remove the decimals after the dot. For example one value is: font-size: 30.6207px and it should be font-size: 30px or font-size: font-size: 44.2759px; and it should be font-size: 44px The font-size is set my this function: $(.ui-selected).css('font-size', maxFont * percentage); Is there a way I could strip the after dot part? Thank you.
[jQuery] insertAfter('.address')
i'm using the following code to load some html after the fieldset: $(this).next().insertAfter('.address').load('http://mydomain.dev/ search/view/Id/' + $(this).attr('id') + '.html'); but i'll get the error: Node cannot be inserted at the specified point in the hierarchy code: 3 [Break on this error] this.parentNode.insertBefore( elem, this.nextSibling ); so how can i insert something after the class='address' and before the span tag? h5 class=head id=dt_7788Joepie/h5 div style=display: none; fieldset class=address ol liMeerweg 4/li li1921BR Akersloot/li li0251-317509/li /ol /fieldset spanTags: straatgolf/span /div
Re: [jQuery] Removing percentage after dot - font-size: 30.6207px
Mircea wrote: I have a slider that sets my CSS font-size to a value. The value itself is accepted by CSS buy I would like to remove the decimals after the dot. For example one value is: font-size: 30.6207px and it should be font-size: 30px or font-size: font-size: 44.2759px; and it should be font-size: 44px The font-size is set my this function: $(.ui-selected).css('font-size', maxFont * percentage); Is there a way I could strip the after dot part? Thank you. parseInt(maxFont * percentage,10) should do it. see: http://www.w3schools.com/jsref/jsref_parseInt.asp Jonathan -- Jonathan Vanherpe - Tallieu Tallieu NV - jonat...@tnt.be
Re: [jQuery] insertAfter('.address')
On Tue, Jan 26, 2010 at 8:38 AM, Bas basvdlustgr...@gmail.com wrote: $(this).next().insertAfter('.address').load('http://mydomain.dev/ search/view/Id/' + $(this).attr('id') + '.html'); You're trying to insert $(this).next() after $(.address). What you want to do - I'm guessing - is create a new div loaded with the result of the load call, yes? You need to load the new content into a fresh div, then insert that after $(.address). newDiv = createElement(div); newDiv.load(http://mydomain.dev/search/view/Id/; + $(this).attr(id) + .html); newDiv.insertAfter(.address); Something like that, I think. :) Nathan
Re: [jQuery] insertAfter('.address')
On Tue, Jan 26, 2010 at 9:27 AM, Nathan Klatt n8kl...@gmail.com wrote: newDiv = createElement(div); newDiv.load(http://mydomain.dev/search/view/Id/; + $(this).attr(id) + .html); newDiv.insertAfter(.address); Whoops, be sure to turn newDiv into a jQuery object after creating it.
[jQuery] Trouble with draggable containment
I have a test page that demonstrates the problem: http://www.hindbrain.net/ex10.php I have containment: 'parent' for the draggable div. If you try to move it, it jump above the body (window), out of sight. I've had different sizes for parts of this page and often you can see it poking down from the top of the screen. How can I get this containment to work? thanks, Bob
[jQuery] ask jquery upload progessbar
Hi ..., I'm trying to search jquey upload with progess bar. Could you suggest me what plugin must I use ? Thanks -- Adi Gunanta Sembiring Blog: http://adisembiring.wordpress.com YM: adisembir...@yahoo.com GTalk: adi.sembir...@gmail.com e-mail: sembiring@gmail.com Facebook: sembiring@gmail.com HP: +62 852 6892 4259
[jQuery] Re: Removing percentage after dot - font-size: 30.6207px
Thanx Jonathan, That did the trick: var total = parseInt(maxFont * percentage); All the best.
[jQuery] google.load(jquery) and jquery plugins
When I try to use google.load to load jquery I have problems loading other jquery plugins. Somehow I need to be able to wait for jquery to be loaded by the google Ajax api before doing the script type=text/ javascript src=thePluginThatNeedsJquery/script I know that google has google.setOnLoadCallback(function() { but how do I do the script stuff inside that? The answer must be pretty obvious as I couldn't find anything when I searched the group but I don't see it. Thanks
Re: [jQuery] Re: tablesorter line numbers
It'd be cleaner to have this a widget. For the direct matter, give your row a class, remove rows of that class, then append it again as part of the function. aquaone On Mon, Jan 25, 2010 at 19:59, jay jjpri...@gmail.com wrote: Is there any way to get the following code to refresh after every sort? The $(#myTable).each(function(){numbers it, and if I replace it with $(#myTable).bind(sortEnd,function(){ it just adds a new numbered row after every sort (three sorts gets you three columns of numbers). -- $(document).ready(function(){ $(#myTable).each(function(){ if($(this).is('table')){ $('thead th:first-child, thead td:first-child', this).each (function(){ if($(this).is('td')) $(this).before('td#/td'); else if($(this).is('th')) $(this).before('thItem/th'); }); $('tbody td:first-child', this).each(function(i){ $(this).before('td'+(i+1)+'/td'); }); } });
[jQuery] Re: Superfish: drop down slide down / slide up effect - how to?
Thanks Angel. Wow, that slide down looks great! Do you know how to make it slide back up on mouse-out too (eg to match that slide down / up effect on the http://spicebrains.com/multi-level-drop-down-menu/#examples page)?
[jQuery] Entities in Options
I am trying to add options to a select element, but these options have entities like aacute; and it just doesn't work: $(new Option(Aacute; eacute;, 0)).appendTo('#the-select'); It doesn't show as the html entity: Á or é How should it be ?