Hi, hi want to know the index of the first character displayed in a scrollable TextArea in Flex3 and i need the last character's index too.
Any ideas ?
Thanks
Hello,
I cannot $_post['value_to_be_posted'] value into a <form><input type="hidden" value="<? echo $_post['value_to_be_posted'] ?>"></form> in chrome but works in IE and ff.
Any ideas
Thanks
Jean
A co-worker of mine had downloaded a vb example project a while back to see how to make a call or two, he discovered it today again, and noticed that while sitting in the IDE the time/date is updating automatically when the entire project is not even running.
How does this work, we looked around for code but can't find anything giving it away.
Any ideas?
Hi!
Im trying to do a simple fadeIn ONCE for the first div , but the problem is that this is a ajax load inside a everyTime(xxx sec), so it does the same thing everytime it loads again.
anyone got any ideas on how i can prevent the first div to fadeIn over and over again, but still do this function on the new div?
Not very familiar with Jquery.. so feed me with a spoon :)
Hi.
I've got a CALayer and a sublayer in it. What i want to achieve is a blur of the superlayer (the area under the sublayer), just like the standard sheets do it. I've tried to set a .compositingFilter on the sublayer but this doesn't seem to work.
Any ideas how to solve this?
So...basically, I want this in my drop down:
•Nothing
•Option 1
•Option 2
•Option 3
Link to another page
Link to another page
I tried throwing a link_to to a select tag... that didnt work...
any ideas?
We can replace strings in a batch file using the following command
set str="jump over the chair"
set str=%str:chair=table%
These lines work fine and change the string "jump over the chair" to "jump over the table". Now I want to replace the word "chair" in the string with some variable and I don't know how to do it.
set word=table
set str="jump over the chair"
??
Any ideas?
Hi all,
SQLiteJDBC was giving me the following exception when used with hibernate's "hbm2ddl.auto = update" setting:
org.sqlite.MetaData.getImportedKeys not yet implemented
Any solutions? I found one below, and am posting it here for my future reference, but anyone else have any better ideas?
I am looking for a posterous like custom domain management for the users. The user can register a domain and should be able to point their new domain to their sub domain in the web application. Any ideas?
Could you please provide me a simple example for assembling the request and sending to the server using the RecordSet? If someone knows how,please post it here.
Also how do I handle the form post-back, any ideas?
Thanks!!
Hi
I am am running some selenium tests(ruby) on my web page and as i enter an invalid characters in to a text box i have the JavaScript throw a alert like so
if(isNaN($(this).val()) || Number($(this).val().valueOf() <=0)){
alert("Please Enter A Number");
}
how can i handle this alert when its made and close the pop up?
i tried to use the wait_for_pop_up() and close() but i think that's only for browser pop up's and not JavaScript alerts.
any ideas?
thanks
Using C# 3.0, we can initialize objects without their constructors for syntactical reasons. Such as ..
ClassName c = new ClassName =
{
Property1 = "Value"
}
I was wondering how this works with Dictionaries and adding the items to them. Any ideas?
class Foo
{
public Dictionary DictionaryObject { get; set; }
}
Foo f = new Foo =
{
// ???
}
Thank you for your time!!
We are trying to develop a company specific tracking software but not interested in Google or Piwik. Essentially we would have a JavaScript tracking code also. The data that it would capture, would that be best suited for traditional RDMS or can we get a NO SQL solution ?
Any thoughts or ideas welcome.
I am using the Logging Application Block (of Microsoft Enterprise Library 5.0) to log exceptions in the Event Viewer that occur in my WPF XBAP application.
However, exceptions are only being logged if the application is run on my machine (the machine it was built on). Any other machine it doesn't log anything.
I've tried to find a reason why this might be occurring - I've tried setting requirePermission to false - but to no avail.
Anyone any ideas on why this might be happening?
I have some code:
- count = 0
- @clients.each do |client|
%div{:class => "grid_2#{(" alpha" if (count % 3) == 0) || (" omega push_2" if (count % 3) == 2) || " push_1"}"}= link_to h(client.name), client
- count += 1
I want to output an opening div tag right after the each statement if the (count % 3) == 0 and out put the end tag at the end of the block if the (count % 3) == 2 but I can't figure out how to get HAML to do this. Any ideas?
I'm trying to run some of the google applications like calendar, market, and email but the google login service doesn't work. The various errors (like NoClassDefFoundError) make it seem like the pieces aren't even installed. Any ideas?
I have a custom UITableViewCell. In its function - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier, I need to know the cell height as defined in the tableView function heightForRowAtIndexPath so I can properly position UITextField, UIButton, etc in the cell. . Any ideas?
How can I pass along attributes to my tasks in capistrano?
I'm thinking it would be something along the lines of...
role :app,
[["server_one", {:name => "alice"}],
["server_two", {:name => "bob"}],
["server_three", {:name => "charles"}]]
And then for my task...
task :start_server do
run "./myscript #{name}"
end
Any ideas?
Trying to get something similar for Firefox extension using XUL. The most difficult part is the grid with unequal number of rows.
I tried <grid> but it didn't work well. Also don't want to use HTML inside of XUL. Any ideas how to build such table?
var groups = from p in dc.Pool
join pm in dc.PoolMembers on p.ID equals pm.PoolID
group p by p.Group into grp
select new { grp.ID };
This isn't working. Basically I want to do the grouping, and then select certain columns, but when I do select new { grp. } I get no intellisense, so I'm obviously doing something wrong.
Any ideas?
I have external app reading files, I want to hook that to get event in my app. But I cannot find a sources hooking ReadFile (or something else that can help me achieve that). Any ideas how to do that? It must be done in User-Mode. I was thinking for something similar to Process Monitor. I wonder how it does it..
I am trying to create a button using jquery.
I use the following code
jquery('<button/>', {type:'button'}).text(name)
However this works in Safari , FF IE8 but not IE7
i tried to use the attr function :
jquery('<button/>').attr('type','button').text(name)
this does not work either.
any ideas what would work? I suppose if I don't assign a type it would default to button but i rather do that
thanks for your help
I have a List and want to reduce it to a single value (functional programing term "fold", Ruby term "inject"), like
Arrays.asList("a", "b", "c") ... fold ... "a,b,c"
As I am infected with functional programing ideas (Scala), I am looking for an easier/shorter way to code it than
sb = new StringBuilder
for ... {
append ...
}
sb.toString
Hi there, this is a quick question...........
In objects from JPA that is mapping a table, I have some properties that is @Transient, shall I add this properties into equals/hashCode/toString methods?
My first thought is NO but.... I don't know why.
Tips?
Ideas?
Explanations?
Thanks in advance
I write my handler for server errors and define it at root urls.py:
handler500 = 'myhandler'
And I want to write unittest for testing how it works. For testing I write view with error and define it in test URLs configuration, when I make request to this view in browser I see my handler and receive status code 500, but when I launch test that make request to this view I see stack trace and my test failed. Have you some ideas for testing handler500 by unittests?