What does this do? $_SERVER['PHP_SELF']

Hi, I already looked all over the web on this and still don't quite understand it.From what I can see $_SERVER['PHP_SELF'] is supposed to keep the same page in the browser when a form sends. If you use it in the form action= area.What I don't understand is usually in a form action you have to connec ...

Not able to parse

I need to parse the out from following output:I need to get the adapter detail after the heading "System Adapter Configuration:"This adapter detail is in 2nd cloumn like ACPI_IA64_P, ACPI_IA64_B, XBUS and PCI. I have marked the desired output in RED color.Please help me in this issue. I bu ...

Problem using the &slotid:slot-id substitution values

We need to pass the SLOT.xxxx values of an alert to a log-file in a very specific format. Any idea how to do this?We tried to do this through an "Start a program on the server" action. But it sometimes works and sometimes not. For example, for a process monitor alert, we could successfully use:mypro ...

Ubuntu USB Media Card Slot? Automount?

I've got a media card slot, and it shows up with the SD, CF, MS and SM slots in the computer browser, but they do not mount when I insert a card.How to I enable auto-mount so that they mount when inserted and unmount when I "safely remove" or whatever.?btw. I found this page: https://help. ...

Ubuntu Reset CMOS = Ram slot inactive

i reset the cmos and for some reason took out the ram stick off and when i put it back in it didn't work, pc started making a beeping noise, then i putting in again and the noise stopped but now the bios wont load, so pc would turn on but no action.so i moved the stick to the other slot and now it w ...

Ubuntu Need a suggested course of action

Ok so I've always been running Ubuntu on my onboard Intel card. I have a dual boot set up and really haven't booted into Ubuntu for about 3 months. On the Windows side of things I bought a new graphics card (ATI Radeon X1300) and it still ran the onboard until I went into the hardware config and tur ...

Ubuntu SD slot stopped working

So I have a Fujitsu P7230. it has a Ricoh Co Ltd RFC822 SD/SDIO/MMC/MS/MSPro Host Adapter in the front. Just two days ago I put an SD card in the slot, and it appeared on my Gnome desktop ready for action. Today, I put two different SD cards in the slot, and neither of them appear. All I see in dmes ...

jQuery ajaxForm() submits to <form action="foo.php">

I'm having some issues with a commenting module built using jQuery ajaxForm(). The commenting module simply takes the data from a textarea in a form and submits it to a Php processing script for behind the scenes processing. Most of the time, (95%) the system performs as intended but every once ...

jQuery IE and the escape key triggering a hide action

I just came across something in IE, that I hadn't noticed so far: It seems that the escape key triggers some action by default:Say you have a link which on click opens a form via slide down. If you then press the escape key, the form slides up again... Is it just me or did someone else notice th ...

jQuery 1.1: can't get click event to cancel default action and stop bubbling...

I don't know if others are having as tough a time moving to 1.1 as I am, I hope I'm doing something stupid.  Anyway, here's my latest find...I was using the toggle() function to toggle a div in an open/close state, but then after the 1.1 upgrade, the toogle wasn't canceling the ...

jQuery Loop Checkbox Action Question

So far I have this:$(document).ready(function(){        if ($("input[@name='checkbox']").is(":checked")){             $("div.sub2").hide("slow");}  ...

how to find out the browser your using with jquery and do a action?

<html><head><style>P{margin:0px;padding:0px}body{FONT-SIZE: 10pt;FONT-FAMILY:Tahoma}</style></head><body><div style="text-align: left;">thanx. i couldn`t find it.. it`s working perfectly.</div><blockquote style="border-left: #008080 2px solid; paddi ...

jQuery No action on change

Hi, I've an input field (calendar date) that perform actions(validation) after an input. It works if the user enters the datedirectly but the use of the calendar popup (by js) doesn't provoke anaction.Why? ...

jQuery iTechArt - Web Site Development (E-commerce solutions, CMS/DotNetNuke/Ektron/Drupal, Web 2.0/PHP/MySQL/AJAX, Flash/Action script/Flex and many more)

iTechArt Group - Custom Software Development and Offshore outsourcingCompanyhttp://www.itechart.com/Offshore custom software development company iTechArt - Web site andContent Management Solutions development, CMS consulting: Ektron,Drupal and DotNetNukeiTechArt Group provides high quality custom so ...

jQuery Help Modifying the Action Page of an AJaX Form

I have a form on a page that doesn't have a submit button, per se.Instead, there are a number of elements which, when clicked, shouldsubmit the form to an action page that is specific to the element thatwas clicked. I see that I can ajax-ify a form, but I don't see how tomodify the action at ...

jQuery avoid event bubbling to ancestors but still activate the default action?

I have an A in a DIV:<div id="divid"><a href="somewhere" id="aid">asdf</a></div>and bind the click event of the div:$("#divid").click(function() { ... })Now I want the click of A execute the default action, i.e. go toanother page, witho ...

jquery tabs: creating tabs without triggering onShow action

Hi,I noticed when I create my JQuery tabs, the "onShow" callback functionis automatically invoked.$('#container').tabs(tab_id, {remote: true,fxFade: true,fxSpeed: 'fast',onShow: function(clicked, shown, hidden) {clickTabAction(shown);}});Is there a way to create the tabs wi ...

jQuery How to bind a submit form action

all,I'm not sure if subject is right, but I'm going crazy with thisproblem:after an ajaxCall I return this code:$(".public").after("<input type="submit" name="action" value="Update"class="update">").remove();this code works we ...

jQuery in Action

Who's doing the Manning "jQuery in Action" book? I've just been asked to do a technical review.-- Scott ...

New book: "jQuery in Action"

<div>Just got an email annoucing the early access to the book:</div><div> </div><div><a style="FONT-WEIGHT: bold" href="http://rs6.net/tn.jsp?t=5x7ypecab.0.5s76qecab.gimslwbab.54091&ts=S0275&p=http%3A%2F%2Fwww.manning.com%2Fbibeault" target="_blank" rel= ...

jQuery Changing the Action or method of a form befor submitting

Is it possible to change the action or method of a form beforesubmitting? How can I use callbacks? I thought of using this$("form").submit();I´m not sure about the rerst ...

jQuery continuous action while mouseover

friends,i was wondering: how can i trigger an action while the mouse stays on a specific area of the screen?i tried the following code: it works ONCE (when the mouseover event is triggered) but not continuously, while the mouse i over my "active" zone.var centerX = $('#datascape'). ...

[ANN] jQuery in Action (30% OFF COUPON)

guys,<div> </div><div>As many of you already know, I have been working on jQuery in Action, a book on jQuery for Manning Publishers.</div><div><br class="webkit-block-placeholder"></div><div>Almost the entire book is available on MEAP (Manning Ear ...

jQuery Changing form action with hidden field named action in IE causes error

The long subject says it all!If I have a hidden field named 'action', trying to change the formaction attribute fails in IE7.If I change the hidden field to something other than action it works.Can anyone think of a way around this? I would like to keep the hiddenfield named 'action' ...

Reminder: Last few hours to save 30% on jQuery in Action BETA

guys,<div><br class="webkit-block-placeholder"></div><div>I'm really proud of how well jQuery in Action has been selling over the past few weeks, and how much feedback I've been getting from the community. If you haven't gotten a chance to purchase it, I just want ...

Firing off a jQuery action ASAP - before document ready?

there!I have a jQuery action which I'd like to run as soon as possible.Currently it runs on (document).ready but that's too late, and I see aflicker of the page before the action takes place (importing a newstylesheet).Is there a way to make an action happen before the doument is ready?Will ...

jQuery Detecting default action on previous click handler

<span style="font-family: trebuchet ms,sans-serif;">If I have two handlers on "click" on a link, added by different scripts, how can I tell (on the second script) if the first one returned true or false to prevent the default action?</span><br style="font-family: trebuchet m ...

jQuery form plugin: action restrictions?

I started with the "html" example at Mike Alsup's page:http://malsup.com/jquery/form/#sample6That worked fine.I then tried to change the form action from html-echo.php to my ownsite's function library:"index.php?fnc=ajaxComments"then ajaxForm breaks on me. the page goes t ...

jQuery Form Plugin: action="xxx" restrictions?

I started with the "html" example at Mike Alsup's page:http://malsup.com/jquery/form/#sample6That worked fine.I then changed the form action attribute from "html-echo.php" to myownsite's function library:"index.php?fnc=ajaxComments"then ajaxForm breaks on me, ev ...

jQuery In Action

Everyone pre-order jQuery In Action yet?http://www.manning.com/bibeault/The book is from Manning Publications authored by Bear Bibeault and Yehuda Katz. When you order, you have the option of getting the eBook for $5 more.I ordered mine back in December and it should get here by the 2nd half of Febr ...

Book review: jQuery in Action

I just thought I would let everyone know I recently finished up a(rather lengthy) book review for jQuery in Action. You will probablystill have a hard time choosing between this book and Learning jQueryas both are excellent resources. However, the review should help youto make a more informed decisi ...

jQuery how to prevent default action on SELECT "multiple" elements in IE?

i'm trying to find a way to make a multiple SELECT element more intuitive touse by removing the need to use CTRL. all that you need is click once toselect, click once to deselect.the simplest thing i could come up with is this:$("select[multiple] option").mousedown(function(){this.sele ...

jQuery Does "click" action not apply to TDs?

Hi,I'm trying to make a TD, with id = "content", clickable.Unfortunately, it doesn't seem to be working -- the action is notinvoked when I click on the TD. Here's the code:    $('#content').click(function() {        ...

jQuery Form Plugin Action with "#"

Hi,I'm using the ajaxSubmit() function to submit a form which hasaction="index.php#content_jump". The requested URL will be somethinglike "index.php#content_jump?foo=bar&bar=baz" - which is an invalidURL.For the moment I monkeypatched the source to remove the "nameda ...

jQuery Form plugin problem - remote action

I have tried the ajax Form plugin. It works great if the email.php action is in the same server/folder. When I use a remote one, from another server, it just substitute the whole page on the browser by the remote email.php. It does send the email form, but show all the content I want to keep in the ...

Strongly recommend jQuery In Action book

As a newbie, I am always appreciative of recommended resources. Andthis one time, I get to return the favor by highly recommending"jQuery In Action" from Manning press by Bear Bibeault and YehudaKatz. It is very well written and well organized. The examples areaccurate and complete. Given ...

jQuery add eventHandler on <tr> element with existing action()

Hi...I'm trying to add an onClick eventHandler to a Menu Item usingjavascript. The problem is that the elemen allready has an action:<TR action="onActionMenuClick('applyrule', 10001)"id="_MIonActionMenuClickapplyrule10001">I need to set a checkbox BEFORE the cal ...

Slide Show (S6) Autoplay Addon Beta (w/ Scroll-Up Effect) - jQuery Animate in Action

Hello,At yesterday's Vancouver Ajax Hack Night inspired by Karl Swedberg'sScroll Up Headline Reader jQuery Tutorial [1] I put together anautoplay addon (Beta version) for the S6 slide show package.Using jQuery's animate[2] function lets you loop through slides inautoplay with a scroll-up ...

jQuery Datepicker UI - howto click action

allI need help with two things:1. howto change click action on datepicker only on image button and ifclick to input date field do nothing.2. howto change date in input field when i click change mount indatepicker do not click on day ...

jQuery [autocomplete] Changing form action url?

I've got the autocomplete working, but when I hit submit (or enter),the action attribute of the from is made empty.Example:I've got a form with action="URL?opt=search"'$("#remote-search").autocomplete("URL?opt=autofill"}If I don't select anything from th ...

jQuery set default action for all links

Hi, i would like to know if is possible to set a default action forall href in a page...I know i can use selectors to find all href but i don't know what toput in function.I just would like that all link open in a lightbox...Someone can help me? ...

jquery + struts action

HiI need to call an action using jquery..The following piece of code works correctly for it is calling and executing code the correct struts action. However.. the action itseft is not being correcty forwarded. I don't think that the problem is the action, for if I call it in other ways the forwa ...

jQuery How can I load a new form action from a php function?

I am using jQuery ajax to load some page content based on the radio button I click.I have 2 radio buttons for a payment checkout system:O - PayPalO - CreditCardby default the top radio button is selected on server side page load so the form in the background is set to:<form id="payproc" ...

jQuery jqUploader using action does not work with HTTP.

I'm using this jquery plugin:http://www.pixeline.be/experiments/jqUploader/This form action not working:<form enctype="multipart/form-data" action="http://localhost/argofile/index.php/upload/do_upload" method="POST" class="a_form">I'm using code ...

jQuery jqUploader using action does not work with HTTP.

This form action not working:<form enctype="multipart/form-data" action="http://localhost/argofile/index.php/upload/do_upload" method="POST" class="a_form">I'm using code igniter framework, this type of url is the path for the"file" :http:/ ...

jQuery how to get action attribute from form

Hi,How do I get action attribute from the following form if I know id andname values.<form name="myForm" id="myForm" method="post" action="register.php"onsubmit="return false;">I tried those and it did not work:$("form[name=myForm]"). ...

jQuery How do you handle 2 differents and 1 action?

I have the following piece of code which checks if a user has pressedthe Enter key in a text input with id="text_input" and then performssome action:$(document).ready(function(){$("#text_input").keyup(function(e){// Checks if the Enter key was enteredif(e.keyCode == 13){// perfor ...

jQuery How do you handle 2 differents and 1 action?

I have the following piece of code which checks if a user has pressedthe Enter key in a text input with id="text_input" and then performssome action:$(document).ready(function(){$("#text_input").keyup(function(e){// Checks if the Enter key was enteredif(e.keyCode == 13){// perfor ...

jQuery How to prevent default action of *blur* event?

I have a code block like the following:$(document).ready(function(event) {    $('#txtField').blur(function() {        if (invalid(this.value))        {       ...

jQuery Trying to animate the .before()/.after() dom action

Hi,I'm trying to add animation to the .before()/.after() action on somedom nodes and getting visual glitches which get seriously worse onhtml 'heavy' pages.I've put together a quick n' dirty example here: http://jsbin.com/ahupa/editIf you click the down button in the first div yo ...